feat: add sketch_test testcase

This commit is contained in:
donglixiaoche 2023-03-09 10:24:20 +08:00
parent c44701ac0a
commit a87a46732b
No known key found for this signature in database
GPG key ID: F235CD35048B3752
2 changed files with 89 additions and 0 deletions

View file

@ -1005,6 +1005,49 @@ normal: {
something
`,
},
{
name: "class_and_sqlTable_border_radius",
script: `
a: {
shape: sql_table
id: int {constraint: primary_key}
disk: int {constraint: foreign_key}
json: jsonb {constraint: unique}
last_updated: timestamp with time zone
style: {
fill: red
border-radius: 0
}
}
b: {
shape: class
field: "[]string"
method(a uint64): (x, y int)
style: {
border-radius: 0
}
}
c: {
shape: class
style: {
border-radius: 0
}
}
d: {
shape: sql_table
style: {
border-radius: 0
}
}
`,
},
}
runa(t, tcs)
}

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 283 KiB