Fix method-access.exe test (#5412)
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 21 Aug 2017 15:33:40 +0000 (17:33 +0200)
committerGitHub <noreply@github.com>
Mon, 21 Aug 2017 15:33:40 +0000 (17:33 +0200)
The exception message of a MethodAccessException was changed in 7b8811573784a244de3ce559ad4512e913ab31aa.
This caused the method-access.exe test to fail since it checked for the old format.

mono/tests/method-access.il

index 558fb5931e4b8fa25ceaa486bcb8da40c6ab66e6..7bae078cc353a5a748869698c84a26521c203137 100644 (file)
@@ -50,7 +50,7 @@
                        br fail
                } catch [mscorlib]System.MethodAccessException {
                        call instance string [mscorlib]System.MethodAccessException::get_Message ()
-                       ldstr "Method `MethFail:sfoo ()' is inaccessible from method `Test:call_sfoo ()'"
+                       ldstr "Method `MethFail.sfoo()' is inaccessible from method `Test.call_sfoo()'"
                        call instance bool [mscorlib]System.String::Equals (string)
                        brfalse fail
                        br continue