13 lines
522 B
Plaintext
13 lines
522 B
Plaintext
// Skip these tests on C# for now because they will fail due to this haxe bug:
|
|
// https://github.com/HaxeFoundation/haxe/issues/10332
|
|
(#unless cs
|
|
(function _testExternPython []
|
|
(Assert.isTrue
|
|
(#extern Bool python [:String passingString "Hello python!"]
|
|
(python.NativeStringTools.startswith passingString "Hello"))))
|
|
|
|
(function _testExternJavaScript []
|
|
(Assert.equals 18
|
|
(let [jsToEval "5+6+7"]
|
|
(#extern Int js [:String jsToEval _]
|
|
(js.Lib.eval jsToEval)))))) |