Skip to content

Commit

Permalink
test: correct message in assert
Browse files Browse the repository at this point in the history
  • Loading branch information
sierzput authored and aloneguid committed May 22, 2024
1 parent 14af317 commit b5464d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parquet.Test/DecimalTypeTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void Validate_Scale_Bigger_Then_Precision_Throws_Exception() {
const int precision = 3;
const int scale = 4;
ArgumentException ex = Assert.Throws<ArgumentException>(() => new DecimalDataField("field-name", precision, scale));
Assert.Equal("scale must be less than the precision (Parameter 'scale')", ex.Message);
Assert.Equal("scale must be less than or equal to the precision (Parameter 'scale')", ex.Message);
}
}
}

0 comments on commit b5464d6

Please sign in to comment.