github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/builtins/events/onFileSystemChange/filesystem_test.go (about)

     1  package onfilesystemchange_test
     2  
     3  import (
     4  	"testing"
     5  
     6  	_ "github.com/lmorg/murex/lang/expressions"
     7  	"github.com/lmorg/murex/test"
     8  )
     9  
    10  // https://github.com/lmorg/murex/issues/418
    11  func TestIssue418(t *testing.T) {
    12  	tests := []test.MurexTest{
    13  		{
    14  			Block:   `event onFileSystemChange foobar= {}`,
    15  			Stderr:  `no path to watch supplied`,
    16  			ExitNum: 1,
    17  		},
    18  	}
    19  
    20  	test.RunMurexTestsRx(tests, t)
    21  }