Skip to content

Commit

Permalink
Seek after writing
Browse files Browse the repository at this point in the history
  • Loading branch information
kpu committed Jul 18, 2016
1 parent bd4287a commit 6ce5815
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lm/interpolate/tune_instances_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ BOOST_AUTO_TEST_CASE(Toy) {
config.sort.buffer_size = 100;
config.sort.total_memory = 1024;

util::SeekOrThrow(test_input.get(), 0);

Instances inst(test_input.release(), model_names, config);

BOOST_CHECK_EQUAL(1, inst.BOS());
Expand Down

0 comments on commit 6ce5815

Please sign in to comment.