vojaq_parser 0.1.1

Parser of the Vojaq file format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::vojaq_line::VojaqLine;
use super::assert_line;

#[test]
fn empty_comment() {
    assert_line(r"\#", VojaqLine::Comment);
}

#[test]
fn this_is_a_comment() {
    assert_line(r"\#Ceci est un commentaire", VojaqLine::Comment);
}

#[test]
fn this_is_not_a_trio() {
    assert_line(r"\# Ceci {n'est pas} un trio.", VojaqLine::Comment);
}