summaryrefslogtreecommitdiff
path: root/src/hub/src/spreadspace.org/sfive/s5store_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/hub/src/spreadspace.org/sfive/s5store_test.go')
-rw-r--r--src/hub/src/spreadspace.org/sfive/s5store_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hub/src/spreadspace.org/sfive/s5store_test.go b/src/hub/src/spreadspace.org/sfive/s5store_test.go
index c3d62f9..a34633e 100644
--- a/src/hub/src/spreadspace.org/sfive/s5store_test.go
+++ b/src/hub/src/spreadspace.org/sfive/s5store_test.go
@@ -36,8 +36,8 @@ func TestAppend(t *testing.T) {
}
stats, err := store.GetStats(nil)
- clientCount := int(*stats.ClientCount)
- updateCount := *stats.UpdateCount
+ clientCount := int(stats.ClientCount)
+ updateCount := stats.UpdateCount
if 3 != clientCount {
t.Errorf("Failed fo append, invalid number of clients, 3 != %v", clientCount)
}
@@ -51,7 +51,7 @@ func TestAppend(t *testing.T) {
if err != nil {
t.Errorf("Failed to get stats: %v", err)
} else {
- updateCount = *stats.UpdateCount
+ updateCount = stats.UpdateCount
if 0 != updateCount {
t.Errorf("Failed to filter entries by start time, 0 != %v", updateCount)
}
@@ -66,7 +66,7 @@ func IgnoreTestCount(t *testing.T) {
defer store.Close()
stats, err := store.GetStats(nil)
- clientCount := int(*stats.ClientCount)
+ clientCount := int(stats.ClientCount)
if 0 != clientCount {
t.Errorf("Failed to count correctly.")
}