RIP tp::Strings
This commit is contained in:
parent
aa53a4addb
commit
893a07e924
90 changed files with 419 additions and 1475 deletions
|
|
@ -13,7 +13,7 @@ SUITE(Parser) {
|
|||
{
|
||||
Parser parser;
|
||||
|
||||
String stream = "";
|
||||
std::string stream = "";
|
||||
auto res = parser.parse(stream);
|
||||
|
||||
CHECK(!res.isError);
|
||||
|
|
@ -24,7 +24,7 @@ SUITE(Parser) {
|
|||
{
|
||||
Parser parser;
|
||||
|
||||
String stream = "var i = true;";
|
||||
std::string stream = "var i = true;";
|
||||
auto res = parser.parse(stream);
|
||||
|
||||
CHECK(!res.isError);
|
||||
|
|
@ -35,7 +35,7 @@ SUITE(Parser) {
|
|||
{
|
||||
Parser parser;
|
||||
|
||||
String stream = "var i = true; print (i + 1) * 10;";
|
||||
std::string stream = "var i = true; print (i + 1) * 10;";
|
||||
auto res = parser.parse(stream);
|
||||
|
||||
CHECK(!res.isError);
|
||||
|
|
@ -51,7 +51,7 @@ SUITE(Parser) {
|
|||
|
||||
{
|
||||
Parser parser;
|
||||
String stream = "var i = true; print (i + 1) * 10; invalidCharacter ";
|
||||
std::string stream = "var i = true; print (i + 1) * 10; invalidCharacter ";
|
||||
auto res = parser.parse(stream);
|
||||
|
||||
CHECK(res.isError);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue