Completed unit tests and added README and LICENSE

This commit is contained in:
Leon Mika 2023-04-24 05:33:47 +00:00
parent 1651987399
commit f11008ab45
6 changed files with 96 additions and 8 deletions

View file

@ -31,10 +31,3 @@ func verifyPipeLines(t *testing.T, fn func(p *script.Pipe) *script.Pipe, inLines
assert.NoError(t, err)
assert.Equal(t, expOut, outLines)
}
func verifyPipeErr(t *testing.T, fn func(p *script.Pipe) *script.Pipe, inLines []string) {
pipe := script.Slice(inLines)
_, err := fn(pipe).Slice()
assert.Error(t, err)
}