Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: exercism/go
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: af16eaa95b1e25f3bb1d959b44f329dbc07a4da6
Choose a base ref
..
head repository: exercism/go
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2b0a4ef917b411d43e9033f3095f78511d68c544
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 exercises/accumulate/accumulate_test.go
2 changes: 1 addition & 1 deletion exercises/accumulate/accumulate_test.go
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ func TestTestVersion(t *testing.T) {
func TestAccumulate(t *testing.T) {
for _, test := range tests {
actual := Accumulate(test.given, test.converter)
if fmt.Sprintf("%s", actual) != fmt.Sprintf("%s", test.expected) {
if fmt.Sprintf("%q", actual) != fmt.Sprintf("%q", test.expected) {
t.Fatalf("Accumulate(%q, %q): expected %q, actual %q", test.given, test.description, test.expected, actual)
}
}