remove assert
This commit is contained in:
parent
fc5b610888
commit
8f6969ea1e
1 changed files with 3 additions and 3 deletions
|
|
@ -29,7 +29,7 @@ use super::{
|
|||
tracing::instrument(level = "debug", skip(input), fields(input = input.s))
|
||||
)]
|
||||
pub fn element_nodes(input: Input) -> Result<Vec<GreenElement>, nom::Err<()>> {
|
||||
debug_assert!(!input.is_empty());
|
||||
// debug_assert!(!input.is_empty());
|
||||
// TODO:
|
||||
// debug_assert!(
|
||||
// blank_lines(input).unwrap().1.is_empty(),
|
||||
|
|
@ -178,7 +178,7 @@ fn positions() {
|
|||
#[test]
|
||||
fn parse() {
|
||||
use crate::syntax::{SyntaxKind, SyntaxNode};
|
||||
use crate::{syntax::combinator::node, ParseConfig};
|
||||
use crate::{ParseConfig, syntax::combinator::node};
|
||||
|
||||
let t = |input: &str| {
|
||||
let config = &ParseConfig::default();
|
||||
|
|
@ -220,7 +220,7 @@ b"#),
|
|||
#[test]
|
||||
fn affiliated_keywords() {
|
||||
use crate::syntax::{SyntaxKind, SyntaxNode};
|
||||
use crate::{syntax::combinator::node, ParseConfig};
|
||||
use crate::{ParseConfig, syntax::combinator::node};
|
||||
|
||||
let t = |input: &str| {
|
||||
let config = &ParseConfig::default();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue