diff options
author | Mateo Torres-Ruiz <mateoatr@users.noreply.github.com> | 2020-07-16 08:40:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-16 08:40:31 +0300 |
commit | 65dc2f30a160d6fc39183747581175fcddabb17c (patch) | |
tree | 793d58165c01c9086cd03a5f4a8f7f80328bd234 /test | |
parent | 84528f4185f43ccf2f6d1da804f8be353fd576d0 (diff) |
Show error on invalid command-line argument (#1360)
Diffstat (limited to 'test')
-rw-r--r-- | test/Mono.Linker.Tests.Cases/CommandLine/InvalidArguments.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/Mono.Linker.Tests.Cases/CommandLine/InvalidArguments.cs b/test/Mono.Linker.Tests.Cases/CommandLine/InvalidArguments.cs new file mode 100644 index 000000000..22f21400a --- /dev/null +++ b/test/Mono.Linker.Tests.Cases/CommandLine/InvalidArguments.cs @@ -0,0 +1,15 @@ +using Mono.Linker.Tests.Cases.Expectations.Assertions; +using Mono.Linker.Tests.Cases.Expectations.Metadata; + +namespace Mono.Linker.Tests.Cases.CommandLine +{ + [SetupLinkerArgument ("--verbose", "--invalidArgument")] + [LogContains ("Unrecognized command-line option")] + [NoLinkedOutput] + public class InvalidArguments + { + public static void Main () + { + } + } +} |