mirror of
https://github.com/typst/typst
synced 2025-07-27 22:37:54 +08:00
Fix test spans
This commit is contained in:
parent
801b689dae
commit
fb0b01d45c
@ -1,12 +1,12 @@
|
|||||||
--- warn-show-set-last-in-block ---
|
--- warn-show-set-last-in-block ---
|
||||||
#{
|
#{
|
||||||
// Warning: 1-14 show rule has no effect
|
// Warning: 1-14 show rule has no effect
|
||||||
// Hint: 1-14 a show rule is only in effect until the end of the surrounding code block
|
// Hint: 3-16 a show rule is only in effect until the end of the surrounding code block
|
||||||
show "a": "b"
|
show "a": "b"
|
||||||
}
|
}
|
||||||
|
|
||||||
#{
|
#{
|
||||||
// Warning: 1-15 set rule has no effect
|
// Warning: 1-15 set rule has no effect
|
||||||
// Hint: 1-15 a set rule is only in effect until the end of the surrounding code block
|
// Hint: 3-17 a set rule is only in effect until the end of the surrounding code block
|
||||||
set text(blue)
|
set text(blue)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user