Skip to content

Commit

Permalink
[tests] Fix Xamarin.iOS.Tasks.TargetTests.GenerateBundleName_Executab…
Browse files Browse the repository at this point in the history
…leProject

msbuild has the path in it's original form (with windows slashes).

```
 Test Failure : Xamarin.iOS.Tasks.TargetTests.GenerateBundleName_ExecutableProject
     xamarin#3
  String lengths are both 42. Strings differ at index 3.
  Expected: "bin/iPhoneSimulator/Debug/MySingleView.app"
  But was:  "bin\\iPhoneSimulator\\Debug\\MySingleView.app"
  --------------^

at Xamarin.iOS.Tasks.TargetTests.GenerateBundleName_ExecutableProject () [0x00054] in /Users/ankit/dev/xamarin-macios/msbuild/tests/Xamarin.iOS.Tasks.Tests/TargetTests/TargetTests.cs:394
```
  • Loading branch information
radical committed May 22, 2018
1 parent 6278f10 commit decb038
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ public void GenerateBundleName_ExecutableProject ()

// Now we should have an AppBundleDir
RunTargetOnInstance (MonoTouchProjectInstance, TargetName.GenerateBundleName);
Assert.AreEqual ("bin/iPhoneSimulator/Debug/MySingleView.app", MonoTouchProjectInstance.GetPropertyValue ("AppBundleDir"), "#3");
Assert.AreEqual (@"bin\iPhoneSimulator\Debug\MySingleView.app", MonoTouchProjectInstance.GetPropertyValue ("AppBundleDir"), "#3");
}

[Test]
Expand Down

0 comments on commit decb038

Please sign in to comment.