minor cleanup.
This commit is contained in:
parent
93f9581d8a
commit
5ddeeac966
@ -58,7 +58,7 @@ while read -r test_case; do
|
||||
if [ "$test_mode" = "duster" ] || [ "$test_mode" = "" ]; then
|
||||
duster_output=$(xargs -a <(find "$test_group" -maxdepth 1 -mindepth 1 -type f -name 'main.dust'; find "$test_group" -maxdepth 1 -mindepth 1 -type f -name '*.dust' ! -name 'main.dust' | sort) "$DIR/../target/debug/duster-cli" < "$test_case")
|
||||
fi
|
||||
|
||||
|
||||
if [ "$test_mode" = "dustjs" ]; then
|
||||
cat <<<"$dustjs_output"
|
||||
elif [ "$test_mode" = "duster" ]; then
|
||||
|
@ -548,11 +548,10 @@ fn partial_with_plain_tag<'a>(
|
||||
}
|
||||
|
||||
fn partial_quoted_tag(i: &str) -> IResult<&str, Vec<TemplateElement>> {
|
||||
// TODO: make all consuming
|
||||
many1(alt((
|
||||
all_consuming(many1(alt((
|
||||
map(span, TemplateElement::TESpan),
|
||||
map(map(reference, DustTag::DTReference), TemplateElement::TETag),
|
||||
)))(i)
|
||||
))))(i)
|
||||
}
|
||||
|
||||
fn partial_with_quoted_tag<'a>(
|
||||
|
Loading…
x
Reference in New Issue
Block a user