fix test
This commit is contained in:
parent
595fafc4c8
commit
72b0f62bf0
3 changed files with 286 additions and 286 deletions
|
|
@ -482,7 +482,7 @@ func (c *compiler) compileStyle(attrs *d2graph.Attributes, m *d2ir.Map) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *compiler) compileStyleField(attrs *d2graph.Attributes, f *d2ir.Field) {
|
func (c *compiler) compileStyleField(attrs *d2graph.Attributes, f *d2ir.Field) {
|
||||||
if _, ok := d2graph.StyleKeywords[f.Name]; !ok {
|
if _, ok := d2graph.StyleKeywords[strings.ToLower(f.Name)]; !ok {
|
||||||
c.errorf(f.LastRef().AST(), `invalid style keyword: "%s"`, f.Name)
|
c.errorf(f.LastRef().AST(), `invalid style keyword: "%s"`, f.Name)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -244,7 +244,7 @@ Android: {
|
||||||
|
|
||||||
web -> twitter fe
|
web -> twitter fe
|
||||||
timeline scorer: "Timeline\nScorer" {
|
timeline scorer: "Timeline\nScorer" {
|
||||||
style.fill "#ffdef1"
|
style.fill: "#ffdef1"
|
||||||
}
|
}
|
||||||
home ranker: Home Ranker
|
home ranker: Home Ranker
|
||||||
|
|
||||||
|
|
@ -283,7 +283,7 @@ prediction service2: Prediction Service {
|
||||||
icon: https://cdn-icons-png.flaticon.com/512/6461/6461819.png
|
icon: https://cdn-icons-png.flaticon.com/512/6461/6461819.png
|
||||||
}
|
}
|
||||||
home scorer: Home Scorer {
|
home scorer: Home Scorer {
|
||||||
style.fill "#ffdef1"
|
style.fill: "#ffdef1"
|
||||||
}
|
}
|
||||||
manhattan: Manhattan
|
manhattan: Manhattan
|
||||||
memcache: Memcache {
|
memcache: Memcache {
|
||||||
|
|
@ -766,7 +766,7 @@ Android: {
|
||||||
|
|
||||||
web -> twitter fe
|
web -> twitter fe
|
||||||
timeline scorer: "Timeline\nScorer" {
|
timeline scorer: "Timeline\nScorer" {
|
||||||
style.fill "#ffdef1"
|
style.fill: "#ffdef1"
|
||||||
}
|
}
|
||||||
home ranker: Home Ranker
|
home ranker: Home Ranker
|
||||||
|
|
||||||
|
|
@ -805,7 +805,7 @@ prediction service2: Prediction Service {
|
||||||
icon: https://cdn-icons-png.flaticon.com/512/6461/6461819.png
|
icon: https://cdn-icons-png.flaticon.com/512/6461/6461819.png
|
||||||
}
|
}
|
||||||
home scorer: Home Scorer {
|
home scorer: Home Scorer {
|
||||||
style.fill "#ffdef1"
|
style.fill: "#ffdef1"
|
||||||
}
|
}
|
||||||
manhattan: Manhattan
|
manhattan: Manhattan
|
||||||
memcache: Memcache {
|
memcache: Memcache {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 201 KiB After Width: | Height: | Size: 201 KiB |
Loading…
Reference in a new issue