Skip to content

Commit 60c2201

Browse files
committed
🔧 [GAssert] Add missing license header
1 parent e93a057 commit 60c2201

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

example/GAssert.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@
88
#include "GUnit/GAssert.h"
99

1010
int main() {
11-
EXPECT(true);
12-
1311
const auto i = 42;
1412
EXPECT(42 == i);
15-
13+
EXPECT(42 >= 0) << "message";
1614
ASSERT(42.0 == 42.);
1715
}

include/GUnit/GAssert.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
//
2+
// Copyright (c) 2016-2017 Kris Jusiak (kris at jusiak dot net)
3+
//
4+
// Distributed under the Boost Software License, Version 1.0.
5+
// (See accompanying file LICENSE_1_0.txt or copy at
6+
// http://www.boost.org/LICENSE_1_0.txt)
7+
//
18
#pragma once
29

310
#include <gtest/gtest.h>

include/GUnit/GSteps.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ class Steps : public ::testing::EmptyTestEventListener {
388388
return Step<-1, true>{*this, {"Then", File::c_str(), line}, pattern};
389389
}
390390

391-
// clang-format off
391+
// clang-format off
392392
#if defined(__clang__)
393393
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
394394
#endif

0 commit comments

Comments
 (0)