aboutsummaryrefslogtreecommitdiff
path: root/bidder/bid_test.go
diff options
context:
space:
mode:
authorÖzgür Kesim <oec@kesim.org>2024-11-08 11:24:50 +0100
committerÖzgür Kesim <oec@kesim.org>2024-11-08 11:24:50 +0100
commit2100500f1a0a8534a5d6f900b4e35ad9a09aa339 (patch)
treebbecf21b3ab957ba1949ffb1a0f8b0fd08de7068 /bidder/bid_test.go
parent15283cd1bf926254fad09ae04b1e04e381966c06 (diff)
moving declarations around
Diffstat (limited to 'bidder/bid_test.go')
-rw-r--r--bidder/bid_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/bidder/bid_test.go b/bidder/bid_test.go
index de6afd9..a479e5d 100644
--- a/bidder/bid_test.go
+++ b/bidder/bid_test.go
@@ -5,21 +5,21 @@ import (
)
func TestBitlengthTooLarge(t *testing.T) {
- bid, e := NewBid(0xFFFFFF, 70)
+ bid, e := newBid(0xFFFFFF, 70)
if e == nil {
t.Fatalf("failure expected, but got bid: %#v", bid)
}
}
func TestPriceTooLarge(t *testing.T) {
- bid, e := NewBid(0xFFFFFF, 8)
+ bid, e := newBid(0xFFFFFF, 8)
if e == nil {
t.Fatalf("failure expected, but got bid: %#v", bid)
}
}
func TestBidOK(t *testing.T) {
- bid, e := NewBid(102400, 24)
+ bid, e := newBid(102400, 24)
if e != nil {
t.Fatalf("unexpected error: %v", e)
}