Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateo Torres-Ruiz <mateoatr@users.noreply.github.com>2020-07-16 08:40:31 +0300
committerGitHub <noreply@github.com>2020-07-16 08:40:31 +0300
commit65dc2f30a160d6fc39183747581175fcddabb17c (patch)
tree793d58165c01c9086cd03a5f4a8f7f80328bd234 /test/Mono.Linker.Tests.Cases/CommandLine
parent84528f4185f43ccf2f6d1da804f8be353fd576d0 (diff)
Show error on invalid command-line argument (#1360)
Diffstat (limited to 'test/Mono.Linker.Tests.Cases/CommandLine')
-rw-r--r--test/Mono.Linker.Tests.Cases/CommandLine/InvalidArguments.cs15
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 ()
+ {
+ }
+ }
+}