remove assert
Some checks failed
CI / test (push) Has been cancelled
CI / gh-pages (push) Has been cancelled

This commit is contained in:
Chris Cochrun 2026-03-31 10:05:16 -05:00
parent fc5b610888
commit 8f6969ea1e

View file

@ -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();