From e66f7e63ff4cb73b066ded9ee929ebdb95299fe7 Mon Sep 17 00:00:00 2001 From: Thomas Jay Rush Date: Thu, 7 Sep 2023 05:59:37 +0100 Subject: [PATCH] Fixes tests --- src/apps/chifra/pkg/tslib/list_integration_test.go | 6 ++---- src/apps/chifra/pkg/tslib/list_test.go | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/apps/chifra/pkg/tslib/list_integration_test.go b/src/apps/chifra/pkg/tslib/list_integration_test.go index a5ac629e9d..abce2a05f9 100644 --- a/src/apps/chifra/pkg/tslib/list_integration_test.go +++ b/src/apps/chifra/pkg/tslib/list_integration_test.go @@ -1,6 +1,3 @@ -//go:build integration -// +build integration - // Copyright 2021 The TrueBlocks Authors. All rights reserved. // Use of this source code is governed by a license that can // be found in the LICENSE file. @@ -38,7 +35,8 @@ func TestGetSpecials2(t *testing.T) { t.Error(err) } - if len(specials) != 39 { + if len(specials) != 42 { + fmt.Println(specials) t.Error("Wrong number of special blocks ", len(specials), ". Should have 39.") } diff --git a/src/apps/chifra/pkg/tslib/list_test.go b/src/apps/chifra/pkg/tslib/list_test.go index 4efe7c0a66..1bc93235ca 100644 --- a/src/apps/chifra/pkg/tslib/list_test.go +++ b/src/apps/chifra/pkg/tslib/list_test.go @@ -73,7 +73,7 @@ func TestGetSpecials(t *testing.T) { t.Error(err) } - if len(specials) != 39 { + if len(specials) != 42 { t.Error("Wrong number of special blocks ", len(specials), ". Should have 39.") }