github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/builtins/core/openimage/open-image_test.go (about) 1 package openimage_test 2 3 import ( 4 "testing" 5 6 _ "github.com/lmorg/murex/builtins" 7 "github.com/lmorg/murex/test" 8 ) 9 10 func TestOpenImageError(t *testing.T) { 11 tests := []test.MurexTest{ 12 { 13 Block: `trypipe { open-image -> out: foobar }`, 14 Stdout: `^$`, 15 Stderr: `expecting to output to the terminal`, 16 ExitNum: 1, 17 }, 18 } 19 20 test.RunMurexTestsRx(tests, t) 21 }