diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2014-10-26 01:23:22 +0000 |
---|---|---|
committer | andreas <andreas@daaaf23c-2e50-4459-9457-1e69db5a47bf> | 2014-10-26 01:23:22 +0000 |
commit | a093d01e6a9b3dd8974a6a6d26706ed73a9c6217 (patch) | |
tree | 8fe297e94914dfcf1cc89f0d7f1ea9cc8f296767 /test/plugins/genericjs | |
parent | eb7211bb8d199b60d1e15cc84e16e08f1e8c0f23 (diff) |
some small changes to the script engine unit test and the documentation
git-svn-id: file:///var/local/svn/basicwriter@80 daaaf23c-2e50-4459-9457-1e69db5a47bf
Diffstat (limited to 'test/plugins/genericjs')
-rw-r--r-- | test/plugins/genericjs/GenericJsScriptEngineTest.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/plugins/genericjs/GenericJsScriptEngineTest.hpp b/test/plugins/genericjs/GenericJsScriptEngineTest.hpp index 8e3ffea..b7f95da 100644 --- a/test/plugins/genericjs/GenericJsScriptEngineTest.hpp +++ b/test/plugins/genericjs/GenericJsScriptEngineTest.hpp @@ -99,7 +99,7 @@ TEST(GENERIC_JS_TEST_NAME, returnObject) { GENERIC_JS_TEST_SCOPE Variant res = scope->run( - "var obj = {\"key1\": 42, \"key2\": \"Hello World\", \"key3\": false}; obj"); + "({\"key1\": 42, \"key2\": \"Hello World\", \"key3\": false})"); ASSERT_EQ(VariantType::map, res.getType()); std::map<std::string, Variant> m = res.getMapValue(); |