We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4479a8a commit d07f241Copy full SHA for d07f241
test/fmt.jl
@@ -20,6 +20,9 @@ i = 1234567
20
@test fmt(i) == "1234567"
21
@test fmt(i,:commas) == "1,234,567"
22
23
+@test_throws ErrorException fmt_default(Real)
24
+@test_throws ErrorException fmt_default(Complex)
25
+
26
@test fmt(2 - 3im, 10) == " 2 - 3im"
27
@test fmt(pi - 3im, 15, 2) == " 3.14 - 3.00im"
28
0 commit comments