Skip to content

Commit

Permalink
more string interpolation.
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyStiles committed Sep 5, 2024
1 parent 5bfe7b5 commit b5a23e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions synthesis/fix/synthesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand Down Expand Up @@ -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)
}
}

Expand Down

0 comments on commit b5a23e3

Please sign in to comment.