Skip to content

Commit

Permalink
changed the assert
Browse files Browse the repository at this point in the history
  • Loading branch information
shaharuk-yb committed Jun 10, 2024
1 parent 62fdb17 commit ac0a6f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yb-voyager/src/migassessment/sizing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func TestGetSourceMetadata_SuccessReadingSourceMetadata(t *testing.T) {
// check if the total indexes are equal to expected indexes
assert.Len(t, sourceIndexMetadata, 1)
// check if the total size of the source database is equal to the expected size
assert.True(t, 1.07 == Round(totalSourceDBSize, 2))
assert.Equal(t, 1.07, Round(totalSourceDBSize, 2))
// check if the values of the source table metadata are equal to the expected values
assert.Equal(t, "public", sourceTableMetadata[0].SchemaName)
assert.Equal(t, "table1", sourceTableMetadata[0].ObjectName)
Expand Down

0 comments on commit ac0a6f6

Please sign in to comment.