Boa 0.13.1

DEPRECATED. Use the boa_engine crate instead.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::syntax::{ast::Const, parser::tests::check_parser};

#[test]
fn check_string() {
    // Check empty string
    check_parser("\"\"", vec![Const::from("").into()]);

    // Check non-empty string
    check_parser("\"hello\"", vec![Const::from("hello").into()]);
}