Skip to content

Commit 602f9a8

Browse files
committed
Fix unit test
1 parent 65ad026 commit 602f9a8

File tree

1 file changed

+2
-2
lines changed
  • src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests

1 file changed

+2
-2
lines changed

src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/BuildTest2.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,8 +1052,8 @@ public void BuildAfterMultiDexIsNotRequired ()
10521052
}
10531053

10541054
//Now build project again after it no longer requires multidex, remove the *HUGE* AndroidJavaSource build items
1055-
while (proj.OtherBuildItems.Count > 1)
1056-
proj.OtherBuildItems.RemoveAt (proj.OtherBuildItems.Count - 1);
1055+
while (proj.AndroidJavaSources.Count > 1)
1056+
proj.AndroidJavaSources.RemoveAt (proj.AndroidJavaSources.Count - 1);
10571057
proj.SetProperty ("AndroidEnableMultiDex", "False");
10581058

10591059
Assert.IsTrue (b.Build (proj, doNotCleanupOnUpdate: true), "Build should have succeeded.");

0 commit comments

Comments
 (0)