feat: update go boilerplate

This commit is contained in:
Miguel Ignacio Cabrera San Gil committed 2022-04-26 16:27:42 +01:00
1 parent 181b48aff7
commit f6fe61daac
7 files changed
+97 -88

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
package gildedrose_test
import (
"testing"
"github.com/emilybache/gildedrose-refactoring-kata/gildedrose"
)
func Test_Foo(t *testing.T) {
var items = []*gildedrose.Item{
{"foo", 0, 0},
}
gildedrose.UpdateQuality(items)
if items[0].Name != "fixme" {
t.Errorf("Name: Expected %s but got %s ", "fixme", items[0].Name)
}
}