Skip to content

Commit 524ba83

Browse files
committed
add go.mod
1 parent c7d452c commit 524ba83

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
go install ./...
2+
go test ./...
3+

clock_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func BenchmarkClock_Time(b *testing.B) {
4444
next := clock.Time()
4545
if next.Value() <= prev.Value() {
4646
b.Fail()
47-
b.Logf("%s (%d) <= %s (%d) at %d\n", next.String(), next.Value, prev.String(), prev.Value, i)
47+
b.Logf("%s (%s) <= %s (%s) at %d\n", next.String(), next.String(), prev.String(), prev.String(), i)
4848
break
4949
}
5050
prev = next

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module github.com/gritzko/ron

op_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func TestParseOp(t *testing.T) {
2525
t.Log(iter.OpString())
2626
i := iter.Integer(0)
2727
if i != 1 {
28-
t.Logf("int parse fails: %d", iter)
28+
t.Logf("int parse fails: %s", iter.String())
2929
t.Fail()
3030
}
3131
}

0 commit comments

Comments
 (0)