Skip to content

Commit

Permalink
Removed unused findFileCb from new test
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
  • Loading branch information
aaronchongth committed Jun 29, 2021
1 parent b1597a3 commit 1c79f2f
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/parser_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -791,16 +791,9 @@ TEST(Parser, MissingRequiredElement)
</world>
</sdf>)";

auto findFileCb = [](const std::string &_uri)
{
return sdf::testing::TestFile("integration", "model", _uri);
};

sdf::ParserConfig config;
config.SetFindCallback(findFileCb);
sdf::Errors errors;
sdf::SDFPtr sdf = InitSDF();
EXPECT_FALSE(sdf::readString(testString, config, sdf, errors));
EXPECT_FALSE(sdf::readString(testString, sdf, errors));

ASSERT_NE(errors.size(), 0u);
std::cerr << errors[0] << std::endl;
Expand Down

0 comments on commit 1c79f2f

Please sign in to comment.