chore: fix some typos
Signed-off-by: oftenoccur <ezc5@sina.com>
This commit is contained in:
parent
6461e842ab
commit
c688ee28d9
3 changed files with 3 additions and 3 deletions
|
|
@ -459,7 +459,7 @@ func compile(ctx context.Context, ms *xmain.State, plugins []d2plugin.Plugin, fs
|
||||||
if os.Getenv("D2_LSP_MODE") == "1" {
|
if os.Getenv("D2_LSP_MODE") == "1" {
|
||||||
// only the parse result is needed if running d2 for lsp,
|
// only the parse result is needed if running d2 for lsp,
|
||||||
// if this, "fails", the AST is still valid and can be sent
|
// if this, "fails", the AST is still valid and can be sent
|
||||||
// to vscode extention
|
// to vscode extension
|
||||||
ast, err := d2lib.Parse(ctx, string(input), opts)
|
ast, err := d2lib.Parse(ctx, string(input), opts)
|
||||||
|
|
||||||
type LspOutputData struct {
|
type LspOutputData struct {
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,7 @@ running:
|
||||||
./ci/e2ereport.sh -delta
|
./ci/e2ereport.sh -delta
|
||||||
```
|
```
|
||||||
|
|
||||||
This gives me a nice HMTL output of what the test expected vs what it got (this was a PR
|
This gives me a nice HTML output of what the test expected vs what it got (this was a PR
|
||||||
fixing multi-byte character labels):
|
fixing multi-byte character labels):
|
||||||
|
|
||||||

|

|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ I just forgot my whole philosophy of life!!!: {
|
||||||
}
|
}
|
||||||
|
|
||||||
// TestChanges makes it explicit in PRs when encoding changes
|
// TestChanges makes it explicit in PRs when encoding changes
|
||||||
// Something we might want to know for playground compatability
|
// Something we might want to know for playground compatibility
|
||||||
func TestChanges(t *testing.T) {
|
func TestChanges(t *testing.T) {
|
||||||
// Choose something with many keywords and varied text
|
// Choose something with many keywords and varied text
|
||||||
const script = `timeline mixer: "" {
|
const script = `timeline mixer: "" {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue