Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rohenaz committed Feb 8, 2023
1 parent 88a053f commit 70cbc73
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bmap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import (
)

var cryptofights = "cryptofights"
var something = "something"

func TestFromBob(t *testing.T) {

Expand Down Expand Up @@ -89,8 +90,8 @@ func TestFromTx(t *testing.T) {
func TestMap(t *testing.T) {

keyName1 := "keyName1"
something := "something"
keyName2 := "something"
something := something
keyName2 := something
somethingElse := "something else"

tape := bpu.Tape{
Expand All @@ -107,7 +108,7 @@ func TestMap(t *testing.T) {
m, err := magic.NewFromTape(&tape)
if err != nil {
t.Fatalf("error occurred: %s", err)
} else if m["keyName1"] != "something" {
} else if m["keyName1"] != something {
t.Fatalf("SET Failed %s", m["keyName1"])
}

Expand Down

0 comments on commit 70cbc73

Please sign in to comment.