Skip to content

Commit

Permalink
TranslatorSpec: Correct test of _root translation in Java
Browse files Browse the repository at this point in the history
Fixes

[info] - java:_root.foo *** FAILED ***
[info]   "_root[()].foo()" was not equal to "_root[].foo()" (TranslatorSpec.scala:267)
[info]   Analysis:
[info]   "_root[()].foo()" -> "_root[].foo()"
  • Loading branch information
Mingun committed Mar 8, 2024
1 parent 6dd9880 commit c6b5f73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ class TranslatorSpec extends AnyFunSpec {
CppCompiler -> "_root()->foo()",
CSharpCompiler -> "M_Root.Foo",
GoCompiler -> "this._root.Foo",
JavaCompiler -> "_root.foo()",
JavaCompiler -> "_root().foo()",
JavaScriptCompiler -> "this._root.foo",
LuaCompiler -> "self._root.foo",
PerlCompiler -> "$self->_root()->foo()",
Expand Down

0 comments on commit c6b5f73

Please sign in to comment.