Skip to content

Commit

Permalink
Fix getGoniometer call. Refs #5397
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Aug 3, 2012
1 parent 05a9755 commit 624e331
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class EventNexusFileMementoTest : public CxxTest::TestSuite
TS_ASSERT_THROWS_NOTHING(ws->run().getLogData("angle1")->value());
TS_ASSERT_THROWS_NOTHING(ws->run().getLogData("angle2")->value());

Goniometer & gon = ws->mutableRun().getGoniometer();
const Goniometer & gon = ws->run().getGoniometer();
TS_ASSERT_EQUALS( gon.getNumberAxes(), 2);

TS_ASSERT_EQUALS( gon.getAxis(0).name, "angle1");
Expand All @@ -121,4 +121,4 @@ class EventNexusFileMementoTest : public CxxTest::TestSuite

};

#endif
#endif

0 comments on commit 624e331

Please sign in to comment.