Skip to content

Commit

Permalink
fixup: Adjust multiline
Browse files Browse the repository at this point in the history
  • Loading branch information
hjanetzek committed Dec 14, 2015
1 parent e4a5442 commit 1c22dea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/unit/labelTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ TextBuffer dummy(nullptr);
TextLabel makeLabel(Label::Transform _transform, Label::Type _type) {
Label::Options options;
options.offset = {0.0f, 0.0f};
return TextLabel(_transform, _type, {0, 0}, dummy, {0, 0}, options, {}, 1, LabelProperty::Anchor::center, 0);
return TextLabel(_transform, _type, {0, 0}, dummy, {0, 0}, options, {}, 1, LabelProperty::Anchor::center, {});
}

TEST_CASE( "Ensure the transition from wait -> sleep when occlusion happens", "[Core][Label]" ) {
Expand Down
4 changes: 3 additions & 1 deletion tests/unit/labelsTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ std::unique_ptr<TextLabel> makeLabel(Label::Transform _transform, Label::Type _t
options.properties->add("id", id);
options.interactive = true;

return std::unique_ptr<TextLabel>(new TextLabel(_transform, _type, {10, 10},dummy, {0, 0}, options, {}, 1, LabelProperty::Anchor::center, 0));
return std::unique_ptr<TextLabel>(new TextLabel(_transform, _type, {10, 10},dummy,
{0, 0}, options, {}, 1, LabelProperty::Anchor::center,
{}));
}

TEST_CASE("Test getFeaturesAtPoint", "[Labels][FeaturePicking]") {
Expand Down

0 comments on commit 1c22dea

Please sign in to comment.