2022-11-03 13:54:49 +00:00
|
|
|
package e2etests
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"testing"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func testRegression(t *testing.T) {
|
2022-12-05 19:10:45 +00:00
|
|
|
tcs := []testCase{
|
|
|
|
|
{
|
2022-12-06 21:44:59 +00:00
|
|
|
name: "dagre_special_ids",
|
2022-12-05 19:40:21 +00:00
|
|
|
script: `
|
|
|
|
|
ninety\nnine
|
|
|
|
|
eighty\reight
|
|
|
|
|
seventy\r\nseven
|
2022-12-06 21:44:59 +00:00
|
|
|
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
|
|
|
},
|
|
|
|
|
}
|
2022-11-03 13:54:49 +00:00
|
|
|
|
|
|
|
|
runa(t, tcs)
|
|
|
|
|
}
|