Prevent double initialization in codegen tests, fix ScriptGenTest#testDependentScripts
Add an assertion to prevent duplicate initialization of CodegenTestFiles instance in CodegenTestCase, which was happening in ScriptGenTest with multiple invocation of loadFile()
This commit is contained in:
+2
-2
@@ -1,3 +1,3 @@
|
||||
val fibwp = test.Fibwp(5)
|
||||
val fibwp = test.Fibwp_lang(5)
|
||||
val callResult = fibwp.fib(4)
|
||||
val result = fibwp.num + fibwp.result - 5
|
||||
val result = fibwp.num + fibwp.result - 5
|
||||
|
||||
Reference in New Issue
Block a user