Skip to content

Commit

Permalink
100% coverage for bool
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanegv committed Feb 28, 2024
1 parent fd187bb commit e7dd609
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interpreter/eclaType/bool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1495,9 +1495,9 @@ func TestBoolOrErr(t *testing.T) {

func TestBoolXorErr(t *testing.T) {
t1 := Bool(false)
t2 := String("false")
t2 := String("test")

_, err := t1.Eq(t2)
_, err := t1.Xor(t2)
if err == nil {
t.Error("Expected error when comparing a string to a bool")
}
Expand Down

0 comments on commit e7dd609

Please sign in to comment.