...

Source file src/oss.terrastruct.com/d2/d2cli/main_test.go

Documentation: oss.terrastruct.com/d2/d2cli

     1  package d2cli_test
     2  
     3  import "testing"
     4  
     5  // TODO: Use virtual file system with fs.FS in xmain.State when fs.FS supports writes.
     6  // See https://github.com/golang/go/issues/45757. Or modify.
     7  // We would need to abstract out fsnotify as well to work with the virtual test file system.
     8  // See also https://pkg.go.dev/testing/fstest
     9  // For now cleaning up temp directories after running tests is enough.
    10  func TestRun(t *testing.T) {
    11  	t.Parallel()
    12  }
    13  

View as plain text