Something went wrong. Try again.
🌱 A minimal programming language and compiler. git.urbach.dev/cli/q
high-performance programming-language compiler
Something went wrong. Try again.
123456789101112131415161718192021package compiler_test
import ( "testing"
"git.urbach.dev/cli/q/src/compiler" "git.urbach.dev/cli/q/src/config" "git.urbach.dev/go/assert")
func TestNotExisting(t *testing.T) { b := config.New("_") _, err := compiler.Compile(b) assert.NotNil(t, err)}
func TestHelloExample(t *testing.T) { b := config.New("../../examples/hello") _, err := compiler.Compile(b) assert.Nil(t, err)}