Modify "var" to "auto" for unit tests.

This commit is contained in:
Jason Turner
2011-09-24 12:05:08 -06:00
parent e3350fe55f
commit 92de42e42b
70 changed files with 127 additions and 127 deletions

View File

@@ -22,7 +22,7 @@ int main()
chai.add(chaiscript::fun(&test_two), "test_fun");
int res1 = chai.eval<int>("test_fun(1)");
int res2 = chai.eval<int>("var i = 1; test_fun(i)");
int res2 = chai.eval<int>("auto i = 1; test_fun(i)");
int res3 = chai.eval<int>("test_fun(\"bob\")");
int res4 = chai.eval<int>("test_fun(\"hi\")");