Commit e9f70aa
committed
[tests] we don't need to check if Clean deletes directories (#6117)
Context: #6112
The .NET 6 Preview 7 bump had a test failure:
CleanBasicBindingLibrary("class-parse")
obj/Release should have no directories.
Expected: <empty>
But was: < "/Users/runner/work/1/s/bin/TestRelease/temp/CleanBasicBindingLibraryclass-parse/obj/Release/refint" >
`refint` is a new directory, see:
* dotnet/sdk@e424c0e
* https://github.com/dotnet/msbuild/blob/9e576281e638d60701ca34411e2483bed01e35c7/src/Tasks/Microsoft.Common.CurrentVersion.targets#L397
Clean doesn't actually delete directories, no need to test for this.
The test already is checking if any files exist, and that should be
sufficient.1 parent 1734a83 commit e9f70aa
File tree
1 file changed
+0
-7
lines changed- src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests
1 file changed
+0
-7
lines changedLines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | 100 | | |
108 | 101 | | |
109 | 102 | | |
| |||
0 commit comments