aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2021-09-06 16:22:54 +0300
committerArnold D. Robbins <arnold@skeeve.com>2021-09-06 16:22:54 +0300
commit17652fe29a5decb9e722d9c544249333a7bd5aea (patch)
tree642f63975dbba0b7383c4188d05a23e160fa28ac
parent50d91293b73ed7b9b50e1928ccf87a1f5281da1f (diff)
downloadegawk-17652fe29a5decb9e722d9c544249333a7bd5aea.tar.gz
egawk-17652fe29a5decb9e722d9c544249333a7bd5aea.tar.bz2
egawk-17652fe29a5decb9e722d9c544249333a7bd5aea.zip
And yet again, add the actual test files. Sigh.
-rw-r--r--test/commas.awk4
-rw-r--r--test/commas.ok2
2 files changed, 6 insertions, 0 deletions
diff --git a/test/commas.awk b/test/commas.awk
new file mode 100644
index 00000000..1013b9cb
--- /dev/null
+++ b/test/commas.awk
@@ -0,0 +1,4 @@
+BEGIN {
+ printf("%'d\n",123456789)
+ printf("%'f\n",123456789)
+}
diff --git a/test/commas.ok b/test/commas.ok
new file mode 100644
index 00000000..3d4d96a1
--- /dev/null
+++ b/test/commas.ok
@@ -0,0 +1,2 @@
+123,456,789
+123,456,789.000000