Commit cf7dcb589c7641ce289173099cf714855e6a3bc5

Thomas de Grivel 2024-08-14T14:01:03

json tests

diff --git a/.gitignore b/.gitignore
index 8415e0d..71441d0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -76,6 +76,10 @@ test/ikc3/*.diff
 test/ikc3/*.err
 test/ikc3/*.out
 test/ikc3/*.ret
+test/json/*.diff
+test/json/*.err
+test/json/*.out
+test/json/*.ret
 test/libkc3_test
 test/libkc3_test_asan
 test/libkc3_test_cov
diff --git a/lib/kc3/0.1/json.kc3 b/lib/kc3/0.1/json.kc3
index 9dd3537..0ee98a1 100644
--- a/lib/kc3/0.1/json.kc3
+++ b/lib/kc3/0.1/json.kc3
@@ -1,4 +1,4 @@
-defmodule JSON.Parser do
+defmodule JSON do
 
   dlopen(__DIR__ + "json.so")
 
diff --git a/test/json/basics.diff b/test/json/basics.diff
deleted file mode 100644
index d9a6cbc..0000000
--- a/test/json/basics.diff
+++ /dev/null
@@ -1,4 +0,0 @@
---- basics.ret.expected	2024-08-13 18:25:48.016470147 +0200
-+++ basics.ret	2024-08-14 13:27:51.097516149 +0200
-@@ -0,0 +1 @@
-+0
diff --git a/test/json/basics.out b/test/json/basics.out
deleted file mode 100644
index e69de29..0000000
--- a/test/json/basics.out
+++ /dev/null
diff --git a/test/json/basics.ret b/test/json/basics.ret
deleted file mode 100644
index 573541a..0000000
--- a/test/json/basics.ret
+++ /dev/null
@@ -1 +0,0 @@
-0