17 lines
207 B
Go
17 lines
207 B
Go
package input_parser
|
|
|
|
import (
|
|
"testing"
|
|
"fmt"
|
|
)
|
|
|
|
func TestParse(t *testing.T) {
|
|
Parse("")
|
|
Parse("hej")
|
|
got := Parse("echo \" jej asdsa dsa \"")
|
|
fmt.Println(got.Instruction)
|
|
fmt.Println(got.Args)
|
|
|
|
|
|
}
|