d2/e2etests/regression_test.go

38 lines
406 B
Go
Raw Normal View History

package e2etests
import (
"testing"
)
func testRegression(t *testing.T) {
2022-12-05 19:10:45 +00:00
tcs := []testCase{
{
name: "dagre_special_ids",
2022-12-05 19:40:21 +00:00
script: `
ninety\nnine
eighty\reight
seventy\r\nseven
a\\yode -> there
a\\"ode -> there
a\\node -> there
2022-12-05 22:51:01 +00:00
`,
},
{
name: "empty_sequence",
script: `
A: hello {
shape: sequence_diagram
}
B: goodbye {
shape: sequence_diagram
}
A->B
2022-12-05 19:40:21 +00:00
`,
2022-12-05 19:10:45 +00:00
},
}
runa(t, tcs)
}