Skip to content

Commit

Permalink
patch: bump test version image
Browse files Browse the repository at this point in the history
  • Loading branch information
mmta committed Nov 13, 2018
1 parent 28236c5 commit 500c51f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/intel/extpoints_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ func TestExtPointsInterface(t *testing.T) {
if c == nil {
t.Fatal("Expect a registered extension")
}

c1 := cs.Lookup("Dummy")
if c1 == nil {
t.Fatal("Cannot lookup extension")
Expand All @@ -62,7 +61,6 @@ func TestExtPointsInterface(t *testing.T) {
if c2 != nil {
t.Fatal("Expect c equals nil")
}

if !cs.Register(c1, "Dummy2") {
t.Fatal("Cannot register new extension")
}
Expand All @@ -78,10 +76,8 @@ func TestExtPointsInterface(t *testing.T) {
if cs.Unregister("Dummy2") {
t.Fatal("Expected to fail on unregistering non-existent extension")
}

ext := UnregisterExtension("Dummy")
if !reflect.DeepEqual(ext, []string{"Checker"}) {
t.Fatal("Cannot unregister extension")
}

}

0 comments on commit 500c51f

Please sign in to comment.