mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-16 16:18:32 +00:00
metadata: fix typos
This commit is contained in:
parent
96ac054392
commit
185318a70c
@ -187,10 +187,10 @@ describe.concurrent('Metadata parser', () => {
|
||||
});
|
||||
|
||||
it('does not load code that looks like a metadata tag', async () => {
|
||||
const tune = `
|
||||
const str1 = '@title Awesome song'
|
||||
`;
|
||||
const tune = `const str1 = '@title Awesome song'`;
|
||||
// need a lexer to avoid this one, but it's a pretty rare use case:
|
||||
// const tune = `const str1 = '// @title Awesome song'`;
|
||||
|
||||
expect(getMetadata(tune)).toStrictEqual({});
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
@ -64,7 +64,7 @@ Some of them accepts several values, using the comma or new line separator, or d
|
||||
*/
|
||||
```
|
||||
|
||||
You can also add optinal prefixes and use tags where you want:
|
||||
You can also add optional prefixes and use tags where you want:
|
||||
|
||||
```js
|
||||
/*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user