Skip to content

Commit 25f48b5

Browse files
committed
Updating the error message in GR32763.testSchemeNotSupported().
1 parent 11cda79 commit 25f48b5

File tree

1 file changed

+2
-2
lines changed
  • graal-js/src/com.oracle.truffle.js.test/src/com/oracle/truffle/js/test/regress

1 file changed

+2
-2
lines changed

graal-js/src/com.oracle.truffle.js.test/src/com/oracle/truffle/js/test/regress/GR32763.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2021, 2022, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -59,7 +59,7 @@ public void testUnknownImportUrl() throws IOException {
5959

6060
@Test
6161
public void testSchemeNotSupported() throws IOException {
62-
assertErrorMessage("foo://bar.mjs", "Error: java.nio.file.FileSystemNotFoundException: Provider \"foo\" not installed\n");
62+
assertErrorMessage("foo://bar.mjs", "Error: Unsupported URI scheme foo\n");
6363
}
6464

6565
private static void assertErrorMessage(String importUrl, String expected) throws IOException {

0 commit comments

Comments
 (0)