Skipping tests that require not implemented functionality
This commit is contained in:
parent
2dd97709a0
commit
29f9a4467c
@ -173,19 +173,25 @@ suite parser_test = [] {
|
||||
};
|
||||
|
||||
"Variable declarations"_test = [] {
|
||||
should("Support variable declaration with assigment") = [] {
|
||||
expect_ast("var x = 10", Ast::variable_declaration(
|
||||
{},
|
||||
{ Ast::literal({ Token::Type::Symbol, "x", {} }) },
|
||||
Ast::literal({ Token::Type::Numeric, "10", {} })));
|
||||
};
|
||||
|
||||
skip / should("Support variable declaration") = [] {
|
||||
expect_ast("var x", Ast::variable_declaration(
|
||||
{},
|
||||
{ Ast::literal({ Token::Type::Symbol, "x", {} }) },
|
||||
std::nullopt));
|
||||
};
|
||||
|
||||
skip / should("Support multiple variables declaration") = [] {
|
||||
expect_ast("var x y", Ast::variable_declaration(
|
||||
{},
|
||||
{Ast::literal({ Token::Type::Symbol, "x", {} }), Ast::literal({ Token::Type::Symbol, "y", {} })},
|
||||
std::nullopt));
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user