Skip to content

Instantly share code, notes, and snippets.

@grundprinzip
Created August 14, 2011 20:19
Show Gist options
  • Save grundprinzip/1145265 to your computer and use it in GitHub Desktop.
Save grundprinzip/1145265 to your computer and use it in GitHub Desktop.
TEST_F( LoaderTests, unsafe_table_unsafe_load_set_false)
{
Loader::params p = Loader::params().set_unsafe(false);
ASSERT_THROW({
Loader::load_with_header("test/tables/revenue_data.tbl",
"test/header/revenue_modified_header.tbl",
p);
}, LoaderError);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment