Browse Source

Add a test case for an empty golang source file

content-update
Augusto 4 years ago committed by xpetit
parent
commit
74d5f11f48
  1. 5
      go/tests/rc/rc_test.go
  2. 0
      rc/tests/empty/empty
  3. 0
      rc/tests/empty/empty.go

5
go/tests/rc/rc_test.go

@ -122,7 +122,10 @@ Cheating:
Cheating:
Ok
`,
`tests/empty len`: `No file to analyse
`tests/empty/empty len`: `No file to analyse
`,
`tests/empty/empty.go`: `Parsing:
tests/empty/empty.go:1:1: expected ';', found 'EOF' (and 2 more errors)
`,
}
Compare(t, argsAndSolution)

0
rc/tests/empty → rc/tests/empty/empty

Loading…
Cancel
Save