diff --git a/src/TruffleSqueak-Tests.package/PolyglotTest.class/instance/testInstallLanguage.st b/src/TruffleSqueak-Tests.package/PolyglotTest.class/instance/testInstallLanguage.st index a31b0b4b8..ec025c38b 100644 --- a/src/TruffleSqueak-Tests.package/PolyglotTest.class/instance/testInstallLanguage.st +++ b/src/TruffleSqueak-Tests.package/PolyglotTest.class/instance/testInstallLanguage.st @@ -1,4 +1,6 @@ testing testInstallLanguage + | currentVersion | Java primitiveIsHostLookupAllowed ifFalse: [ ^self ]. - Polyglot installLanguage: 'js' version: '23.1.0' path: Smalltalk imagePath \ No newline at end of file + currentVersion := (Polyglot languageInfoFor: Polyglot languageIdSmalltalk) version asString. + Polyglot installLanguage: 'js' version: currentVersion path: Smalltalk imagePath \ No newline at end of file diff --git a/src/TruffleSqueak-Tests.package/PolyglotTest.class/methodProperties.json b/src/TruffleSqueak-Tests.package/PolyglotTest.class/methodProperties.json index a15c33782..904cb8748 100644 --- a/src/TruffleSqueak-Tests.package/PolyglotTest.class/methodProperties.json +++ b/src/TruffleSqueak-Tests.package/PolyglotTest.class/methodProperties.json @@ -2,7 +2,7 @@ "class" : { }, "instance" : { - "testInstallLanguage" : "fn 2/17/2024 16:36", + "testInstallLanguage" : "fn 3/20/2024 08:53", "testLanguageInfo" : "fn 2/11/2021 10:54", "testPolyglotBindings" : "fn 11/28/2019 14:53", "testPolyglotEval" : "fn 6/27/2021 12:15" } }