From 27d29b1070cdc56f8b353615fd5d178996626ec0 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 3 Jan 2026 01:12:41 +0300 Subject: [PATCH] updated notes + minor tweaks... Signed-off-by: Alex A. Naanou --- test.js | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/test.js b/test.js index 25ee4fc..9e5a1f0 100755 --- a/test.js +++ b/test.js @@ -68,7 +68,6 @@ var setups = test.Setups({ // XXX also test diffrerent quotations... string: function(assert){ return ['"string"', json] }, - // XXX ERR this breaks... 'string-multiline': function(assert){ return ['"string\\nstring\\nstring"', json] }, @@ -106,7 +105,6 @@ var setups = test.Setups({ return ['Map([[,"value"]])'] }, 'map-recursive-value': function(assert){ return ['Map([["key",]])'] }, - }) test.Modifiers({ @@ -184,12 +182,13 @@ test.Tests({ }) test.Cases({ - /* XXX for some magical reason hese break as soon as we add [setup] to arguments... - 'deep-copy-function': function(assert, [setup]){ - // XXX check function isolation... - }, - //*/ - + // + // Format: + // [ + // [ "", "" ], + // ... + // ] + // // NOTE: these syntax variants are not output by .serialize(..) this it // is less critical to test them in the main loop. // XXX though it would be nice to do so... @@ -199,8 +198,8 @@ test.Cases({ ['123.', '123'], // string quotes... - ['"abc"', "'abc'"], - ['"abc"', '`abc`'], + ["'abc'", '"abc"'], + ['`abc`', '"abc"'], // arrays... ['[1,2,]', '[1,2]'],