We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b161bf3 commit c36832eCopy full SHA for c36832e
UnityDataTool.Tests/UnityDataToolTests.cs
@@ -43,6 +43,19 @@ public void Teardown()
43
}
44
45
46
+ [Test]
47
+ public async Task InvalidFile(
48
+ [Values(
49
+ new string[] {"archive", "extract"},
50
+ new string[] {"archive", "list"},
51
+ new string[] {"dump"}
52
+ )] string[] args)
53
+ {
54
+ var path = Path.Combine(Context.TestDataFolder, "invalidfile");
55
+ var command = args.Append(path);
56
+ Assert.AreNotEqual(0, await Program.Main(command.ToArray()));
57
+ }
58
+
59
[Test]
60
public async Task ArchiveExtract_FilesExtractedSuccessfully(
61
[Values("", "-o archive", "--output-path archive")] string options)
0 commit comments