Skip to content

Commit

Permalink
Swap arguments for Assert.Equal()
Browse files Browse the repository at this point in the history
  • Loading branch information
terrajobst committed Oct 2, 2024
1 parent 42606d4 commit f779c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NQuery.Tests/Iterators/AssertIteratorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void Iterators_Assert_TriggersAssert_WhenFalseAndInputNonEmpty()
iterator.Open();

var exception = Assert.Throws<InvalidOperationException>(() => iterator.Read());
Assert.Equal(exception.Message, message);
Assert.Equal(message, exception.Message);
}
}
}

0 comments on commit f779c83

Please sign in to comment.