From b5a23e3c23fff3ae52ab44604e1e8d0831457f6e Mon Sep 17 00:00:00 2001 From: Timothy Stiles Date: Thu, 5 Sep 2024 10:25:40 -0700 Subject: [PATCH] more string interpolation. --- synthesis/fix/synthesis_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/synthesis/fix/synthesis_test.go b/synthesis/fix/synthesis_test.go index 6ca7ea08..de726c29 100644 --- a/synthesis/fix/synthesis_test.go +++ b/synthesis/fix/synthesis_test.go @@ -48,11 +48,11 @@ func BenchmarkCds(b *testing.B) { for _, cutSite := range []string{"GAAGAC", "GGTCTC", "GCGATG", "CGTCTC", "GCTCTTC", "CACCTGC"} { if strings.Contains(optimizedSeq, cutSite) { fmt.Println(changes) - b.Errorf("phusion" + " contains " + cutSite) + b.Errorf("phusion contains %s", cutSite) } if strings.Contains(transform.ReverseComplement(optimizedSeq), cutSite) { fmt.Println(changes) - b.Errorf("phusion" + " reverse complement contains " + cutSite) + b.Errorf("phusion reverse complement contains %s", cutSite) } } } @@ -84,10 +84,10 @@ func TestCds(t *testing.T) { for _, cutSite := range []string{"GAAGAC", "GGTCTC", "GCGATG", "CGTCTC", "GCTCTTC", "CACCTGC"} { if strings.Contains(optimizedSeq, cutSite) { - t.Errorf("phusion" + " contains " + cutSite) + t.Errorf("phusion contains %s", cutSite) } if strings.Contains(transform.ReverseComplement(optimizedSeq), cutSite) { - t.Errorf("phusion" + " reverse complement contains " + cutSite) + t.Errorf("phusion reverse complement contains %s", cutSite) } }