Skip to content

Commit

Permalink
Update expected error code
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrozsival authored and github-actions committed Oct 15, 2024
1 parent ee09077 commit 9f1edce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controls/tests/Xaml.UnitTests/Issues/Maui23989.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void Setup()
public void ItemDisplayBindingWithoutDataTypeFails([Values(false, true)] bool useCompiledXaml)
{
if (useCompiledXaml)
Assert.Throws(new BuildExceptionConstraint(12, 13, s => s.Contains("0022", StringComparison.Ordinal)), ()=> MockCompiler.Compile(typeof(Maui23989), null, true));
Assert.Throws(new BuildExceptionConstraint(12, 13, s => s.Contains("0045", StringComparison.Ordinal)), ()=> MockCompiler.Compile(typeof(Maui23989), null, true));

var layout = new Maui23989(useCompiledXaml);
//without x:DataType, bindings aren't compiled
Expand Down

0 comments on commit 9f1edce

Please sign in to comment.