Skip to content

Commit

Permalink
Fixed error messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
markkurossi committed Sep 17, 2023
1 parent 1995d22 commit 9241bf4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions compiler/ssa/bindings_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2020-2022 Markku Rossi
// Copyright (c) 2020-2023 Markku Rossi
//
// All rights reserved.
//
Expand Down Expand Up @@ -95,7 +95,7 @@ func TestMerge(t *testing.T) {
}
_, ok = bound.Bound.(*Value)
if !ok {
t.Errorf("bindinf for value 'b' is not *Value: %T", bound.Bound)
t.Errorf("binding for value 'b' is not *Value: %T", bound.Bound)
}
bound, ok = merged.Get("a")
if !ok {
Expand All @@ -104,7 +104,7 @@ func TestMerge(t *testing.T) {
fmt.Printf("merged.a: %v (%T)\n", bound, bound)
_, ok = bound.Bound.(*Select)
if !ok {
t.Errorf("bindinf for value 'a' is not *Select: %T", bound.Bound)
t.Errorf("binding for value 'a' is not *Select: %T", bound.Bound)
}
}

Expand Down
2 changes: 1 addition & 1 deletion ot/pipe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func TestPipe(t *testing.T) {
}
err = pipe.Close()
if err != nil {
t.Errorf("Close faield: %v", err)
t.Errorf("Close failed: %v", err)
}

err = <-done
Expand Down

0 comments on commit 9241bf4

Please sign in to comment.