mirror of
https://github.com/joshuadavidthomas/django-language-server.git
synced 2025-09-11 12:56:46 +00:00
remove lines, add note about full test being disabled
This commit is contained in:
parent
62ec21584b
commit
54befc0384
2 changed files with 0 additions and 9 deletions
|
@ -256,25 +256,18 @@ impl Lexer {
|
||||||
pub enum LexerError {
|
pub enum LexerError {
|
||||||
#[error("empty token at line {0}")]
|
#[error("empty token at line {0}")]
|
||||||
EmptyToken(usize),
|
EmptyToken(usize),
|
||||||
|
|
||||||
#[error("unexpected character '{0}' at line {1}")]
|
#[error("unexpected character '{0}' at line {1}")]
|
||||||
UnexpectedCharacter(char, usize),
|
UnexpectedCharacter(char, usize),
|
||||||
|
|
||||||
#[error("unexpected end of input")]
|
#[error("unexpected end of input")]
|
||||||
UnexpectedEndOfInput,
|
UnexpectedEndOfInput,
|
||||||
|
|
||||||
#[error("source is empty")]
|
#[error("source is empty")]
|
||||||
EmptySource,
|
EmptySource,
|
||||||
|
|
||||||
#[error("at beginning of source")]
|
#[error("at beginning of source")]
|
||||||
AtBeginningOfSource,
|
AtBeginningOfSource,
|
||||||
|
|
||||||
#[error("at end of source")]
|
#[error("at end of source")]
|
||||||
AtEndOfSource,
|
AtEndOfSource,
|
||||||
|
|
||||||
#[error("invalid character access")]
|
#[error("invalid character access")]
|
||||||
InvalidCharacterAccess,
|
InvalidCharacterAccess,
|
||||||
|
|
||||||
#[error("unexpected token type '{0:?}'")]
|
#[error("unexpected token type '{0:?}'")]
|
||||||
UnexpectedTokenType(TokenType),
|
UnexpectedTokenType(TokenType),
|
||||||
}
|
}
|
||||||
|
|
|
@ -639,8 +639,6 @@ mod tests {
|
||||||
insta::assert_yaml_snapshot!(ast);
|
insta::assert_yaml_snapshot!(ast);
|
||||||
}
|
}
|
||||||
|
|
||||||
// hangs for some reason
|
|
||||||
#[test]
|
|
||||||
fn test_parse_full() {
|
fn test_parse_full() {
|
||||||
let source = r#"<!DOCTYPE html>
|
let source = r#"<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue