@@ -137,12 +137,11 @@ class GTEST_INTERNAL_EMPTY_BASE_CLASS NiceMock
137137 : private internal::NiceMockImpl<MockClass>,
138138 public MockClass {
139139 public:
140- static_assert (
141- !internal::HasStrictnessModifier<MockClass>(),
142- " Can't apply NiceMock to a class hierarchy that already has a "
143- " strictness modifier. See "
144- " https://github.com/google/googletest/blob/master/docs/"
145- " gmock_cook_book.md#the-nice-the-strict-and-the-naggy-nicestrictnaggy" );
140+ static_assert (!internal::HasStrictnessModifier<MockClass>(),
141+ " Can't apply NiceMock to a class hierarchy that already has a "
142+ " strictness modifier. See "
143+ " https://google.github.io/googletest/"
144+ " gmock_cook_book.html#NiceStrictNaggy" );
146145 NiceMock () : MockClass() {
147146 static_assert (sizeof (*this ) == sizeof (MockClass),
148147 " The impl subclass shouldn't introduce any padding" );
@@ -177,12 +176,11 @@ template <class MockClass>
177176class GTEST_INTERNAL_EMPTY_BASE_CLASS NaggyMock
178177 : private internal::NaggyMockImpl<MockClass>,
179178 public MockClass {
180- static_assert (
181- !internal::HasStrictnessModifier<MockClass>(),
182- " Can't apply NaggyMock to a class hierarchy that already has a "
183- " strictness modifier. See "
184- " https://github.com/google/googletest/blob/master/docs/"
185- " gmock_cook_book.md#the-nice-the-strict-and-the-naggy-nicestrictnaggy" );
179+ static_assert (!internal::HasStrictnessModifier<MockClass>(),
180+ " Can't apply NaggyMock to a class hierarchy that already has a "
181+ " strictness modifier. See "
182+ " https://google.github.io/googletest/"
183+ " gmock_cook_book.html#NiceStrictNaggy" );
186184
187185 public:
188186 NaggyMock () : MockClass() {
@@ -224,8 +222,8 @@ class GTEST_INTERNAL_EMPTY_BASE_CLASS StrictMock
224222 !internal::HasStrictnessModifier<MockClass>(),
225223 " Can't apply StrictMock to a class hierarchy that already has a "
226224 " strictness modifier. See "
227- " https://github.com/google/ googletest/blob/master/docs /"
228- " gmock_cook_book.md#the-nice-the-strict-and-the-naggy-nicestrictnaggy " );
225+ " https://google. github.io/ googletest/"
226+ " gmock_cook_book.html#NiceStrictNaggy " );
229227 StrictMock () : MockClass() {
230228 static_assert (sizeof (*this ) == sizeof (MockClass),
231229 " The impl subclass shouldn't introduce any padding" );
0 commit comments