Skip to content

Commit

Permalink
change int type
Browse files Browse the repository at this point in the history
  • Loading branch information
DIGIX666 committed Oct 10, 2024
1 parent a168b8d commit 0c65a84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/p/memeland/memeland_test.gno
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func TestGetPostsInRangeByTimestamp(t *testing.T) {

// Count the number of posts returned in the JSON string as a rudimentary check for correct pagination/filtering
postCount := strings.Count(jsonStr, `"id":"`)
if postCount != m.MemeCounter {
if seqid.ID(postCount) != m.MemeCounter {
t.Errorf("Expected %d posts in the JSON string, but found %d", m.MemeCounter, postCount)
}

Expand Down Expand Up @@ -157,7 +157,7 @@ func TestGetPostsInRangeByUpvote(t *testing.T) {

// Count the number of posts returned in the JSON string as a rudimentary check for correct pagination/filtering
postCount := strings.Count(jsonStr, `"id":"`)
if postCount != m.MemeCounter {
if seqid.ID(postCount) != m.MemeCounter {
t.Errorf("Expected %d posts in the JSON string, but found %d", m.MemeCounter, postCount)
}

Expand Down

0 comments on commit 0c65a84

Please sign in to comment.