Skip to content

Commit

Permalink
Correct order of TSM_ASSERT arguments.
Browse files Browse the repository at this point in the history
The intel compiler picked this up as a warning (that the test
could never fail). Re #4473.
  • Loading branch information
RussellTaylor committed Feb 6, 2012
1 parent d64def4 commit 51fc277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/API/test/MDGeometryTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class MDGeometryTest : public CxxTest::TestSuite
g.transformDimensions(scaling, offset);

// resulting workspace
TSM_ASSERT(!g.hasOriginalWorkspace(), "Clear the original workspace");
TSM_ASSERT("Clear the original workspace", !g.hasOriginalWorkspace());
TS_ASSERT_EQUALS( g.getDimension(0)->getName(), "Qx");
TS_ASSERT_EQUALS( g.getDimension(1)->getName(), "Qy");
TS_ASSERT_DELTA( g.getDimension(0)->getMinimum(), -1.5, 1e-4);
Expand Down

0 comments on commit 51fc277

Please sign in to comment.