]> git.codecow.com Git - libnemo.git/commitdiff
Fix duplicated test.
authorChris Duncan <chris@zoso.dev>
Fri, 8 Aug 2025 15:09:22 +0000 (08:09 -0700)
committerChris Duncan <chris@zoso.dev>
Fri, 8 Aug 2025 15:09:22 +0000 (08:09 -0700)
test/test.tools.mjs

index e417a8f7ee13cb5d4bd120765926b64e4c537e44..5d05c9750cc4f1b3f44c96a3b699a021c3834c6b 100644 (file)
@@ -73,8 +73,8 @@ await Promise.all([
                })\r
 \r
                await test('should convert knano to pico', async () => {\r
-                       const result = await Tools.convert('123.456', 'nano', 'pico')\r
-                       assert.equal(result, '123456')\r
+                       const result = await Tools.convert('123.456', 'knano', 'pico')\r
+                       assert.equal(result, '123456000')\r
                })\r
 \r
                await test('should throw if amount exceeds raw max', async () => {\r