Commit 0db94061 authored by Kirill Smelkov's avatar Kirill Smelkov

my: Fixup tests after relicensing

4d9a613c (Relicense to GPLv3+ with wide exception for all Free Software
/ Open Source projects + Business options.) added more lines to
my/my_test.go than removed (@@ -5,16 +5,18 @@) so the line number of

        myline := Line()

changed by 2 (= 18 - 16).

Fix the test accordingly.
parent 4d9a613c
...@@ -27,7 +27,7 @@ import ( ...@@ -27,7 +27,7 @@ import (
// goes first not to be broken by other edits // goes first not to be broken by other edits
func TestMyLine(t *testing.T) { func TestMyLine(t *testing.T) {
myline := Line() myline := Line()
want := 27 want := 29
if myline != want { if myline != want {
t.Errorf("my.Line() -> %v ; want %v", myline, want) t.Errorf("my.Line() -> %v ; want %v", myline, want)
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment