Skip to content

Commit

Permalink
[tests] Update the MT0113_linker test asserting an error message afte…
Browse files Browse the repository at this point in the history
…r the message changed. (xamarin#9485)

This regressed here: d7ab847

Fixes this failure:

    Xamarin.MTouch.MT0113_linker:
    The error 'MT0113: Native code sharing has been disabled for the extension 'testServiceExtension' because the managed linker settings are different between the container app (None) and the extension (All).' was not found in the output:
        Message #1 did not match:
            actual: 'Native code sharing has been disabled for the extension 'testServiceExtension' because the managed linker settings are different between the container app (None) and the extension (Full).'
            expected: 'Native code sharing has been disabled for the extension 'testServiceExtension' because the managed linker settings are different between the container app (None) and the extension (All).'
  • Loading branch information
rolfbjarne authored Aug 25, 2020
1 parent ab47edc commit f19207d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/mtouch/MTouch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1446,7 +1446,7 @@ public void MT0113_linker ()
app.Linker = MTouchLinker.DontLink;
app.WarnAsError = new int [] { 113 };
app.AssertExecuteFailure (MTouchAction.BuildDev, "build app");
app.AssertError (113, "Native code sharing has been disabled for the extension 'testServiceExtension' because the managed linker settings are different between the container app (None) and the extension (All).");
app.AssertError (113, "Native code sharing has been disabled for the extension 'testServiceExtension' because the managed linker settings are different between the container app (None) and the extension (Full).");
}
}
}
Expand Down

0 comments on commit f19207d

Please sign in to comment.