Commit bdf9985e authored by GoshaZotov's avatar GoshaZotov

add test for SHEET formula

parent 47ab5835
...@@ -2155,6 +2155,14 @@ $( function () { ...@@ -2155,6 +2155,14 @@ $( function () {
} ); } );
test( "Test: \"SHEET\"", function () {
oParser = new parserFormula( "SHEET(Hi_Temps)", "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getValue(), "#NAME?" );
} );
test( "Test: \"TRIM\"", function () { test( "Test: \"TRIM\"", function () {
oParser = new parserFormula( "TRIM(\" abc def \")", "A2", ws ); oParser = new parserFormula( "TRIM(\" abc def \")", "A2", ws );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment