Skip to content

Commit c155303

Browse files
committed
Fixing formatting issues which caused build failure
1 parent 874f368 commit c155303

File tree

3 files changed

+40
-41
lines changed

3 files changed

+40
-41
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Don't worry if the CI fails because it is the expected behavior.
3838
This pull request will be a perfect start to find the fix :)
3939

4040
### How to create a pull request?
41-
Refer our [Contributing](./CONTRIBUTING.md) section for detailed set of steps.
41+
Refer our [Contributing](.github/CONTRIBUTING.md) section for detailed set of steps.
4242

4343
### We encourage pull requests that:
4444

testng-asserts/src/main/java/org/testng/Assert.java

+12-12
Original file line numberDiff line numberDiff line change
@@ -878,8 +878,8 @@ public static void assertEquals(byte actual, byte expected) {
878878
}
879879

880880
/**
881-
* Asserts that two chars are equal. If they are not, an AssertionError, with the given
882-
* message, is thrown.
881+
* Asserts that two chars are equal. If they are not, an AssertionError, with the given message,
882+
* is thrown.
883883
*
884884
* @param actual the actual value
885885
* @param expected the expected value
@@ -900,8 +900,8 @@ public static void assertEquals(char actual, char expected) {
900900
}
901901

902902
/**
903-
* Asserts that two shorts are equal. If they are not, an AssertionError, with the given
904-
* message, is thrown.
903+
* Asserts that two shorts are equal. If they are not, an AssertionError, with the given message,
904+
* is thrown.
905905
*
906906
* @param actual the actual value
907907
* @param expected the expected value
@@ -922,8 +922,8 @@ public static void assertEquals(short actual, short expected) {
922922
}
923923

924924
/**
925-
* Asserts that two ints are equal. If they are not, an AssertionError, with the given
926-
* message, is thrown.
925+
* Asserts that two ints are equal. If they are not, an AssertionError, with the given message, is
926+
* thrown.
927927
*
928928
* @param actual the actual value
929929
* @param expected the expected value
@@ -953,8 +953,8 @@ public static void assertNotNull(Object object) {
953953
}
954954

955955
/**
956-
* Asserts that an object isn't null. If it is, an AssertionError, with the given message,
957-
* is thrown.
956+
* Asserts that an object isn't null. If it is, an AssertionError, with the given message, is
957+
* thrown.
958958
*
959959
* @param object the assertion object
960960
* @param message the assertion error message
@@ -980,8 +980,8 @@ public static void assertNull(Object object) {
980980
}
981981

982982
/**
983-
* Asserts that an object is null. If it is not, an AssertionError, with the given message,
984-
* is thrown.
983+
* Asserts that an object is null. If it is not, an AssertionError, with the given message, is
984+
* thrown.
985985
*
986986
* @param object the assertion object
987987
* @param message the assertion error message
@@ -993,8 +993,8 @@ public static void assertNull(Object object, String message) {
993993
}
994994

995995
/**
996-
* Asserts that two objects refer to the same object. If they do not, an AssertionError,
997-
* with the given message, is thrown.
996+
* Asserts that two objects refer to the same object. If they do not, an AssertionError, with the
997+
* given message, is thrown.
998998
*
999999
* @param actual the actual value
10001000
* @param expected the expected value

testng-core/src/main/java/org/testng/AssertJUnit.java

+27-28
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ public static void fail() {
7171
}
7272

7373
/**
74-
* Asserts that two objects are equal. If they are not an AssertionError is thrown with the
75-
* given message.
74+
* Asserts that two objects are equal. If they are not an AssertionError is thrown with the given
75+
* message.
7676
*
7777
* @param message The message
7878
* @param expected The expected value
@@ -126,8 +126,8 @@ public static void assertEquals(String expected, String actual) {
126126
}
127127

128128
/**
129-
* Asserts that two doubles are equal concerning a delta. If they are not an AssertionError
130-
* is thrown with the given message. If the expected value is infinity then the delta value is
129+
* Asserts that two doubles are equal concerning a delta. If they are not an AssertionError is
130+
* thrown with the given message. If the expected value is infinity then the delta value is
131131
* ignored.
132132
*
133133
* @param message The message
@@ -162,8 +162,8 @@ public static void assertEquals(double expected, double actual, double delta) {
162162
}
163163

164164
/**
165-
* Asserts that two floats are equal concerning a delta. If they are not an AssertionError
166-
* is thrown with the given message. If the expected value is infinity then the delta value is
165+
* Asserts that two floats are equal concerning a delta. If they are not an AssertionError is
166+
* thrown with the given message. If the expected value is infinity then the delta value is
167167
* ignored.
168168
*
169169
* @param message The message
@@ -197,8 +197,8 @@ public static void assertEquals(float expected, float actual, float delta) {
197197
}
198198

199199
/**
200-
* Asserts that two longs are equal. If they are not an AssertionError is thrown with the
201-
* given message.
200+
* Asserts that two longs are equal. If they are not an AssertionError is thrown with the given
201+
* message.
202202
*
203203
* @param message The message
204204
* @param expected The expected value
@@ -219,8 +219,8 @@ public static void assertEquals(long expected, long actual) {
219219
}
220220

221221
/**
222-
* Asserts that two booleans are equal. If they are not an AssertionError is thrown with the
223-
* given message.
222+
* Asserts that two booleans are equal. If they are not an AssertionError is thrown with the given
223+
* message.
224224
*
225225
* @param message The message
226226
* @param expected The expected value
@@ -241,8 +241,8 @@ public static void assertEquals(boolean expected, boolean actual) {
241241
}
242242

243243
/**
244-
* Asserts that two bytes are equal. If they are not an AssertionError is thrown with the
245-
* given message.
244+
* Asserts that two bytes are equal. If they are not an AssertionError is thrown with the given
245+
* message.
246246
*
247247
* @param message The message
248248
* @param expected The expected value
@@ -263,8 +263,8 @@ public static void assertEquals(byte expected, byte actual) {
263263
}
264264

265265
/**
266-
* Asserts that two chars are equal. If they are not an AssertionError is thrown with the
267-
* given message.
266+
* Asserts that two chars are equal. If they are not an AssertionError is thrown with the given
267+
* message.
268268
*
269269
* @param message The message
270270
* @param expected The expected value
@@ -285,8 +285,8 @@ public static void assertEquals(char expected, char actual) {
285285
}
286286

287287
/**
288-
* Asserts that two shorts are equal. If they are not an AssertionError is thrown with the
289-
* given message.
288+
* Asserts that two shorts are equal. If they are not an AssertionError is thrown with the given
289+
* message.
290290
*
291291
* @param message The message
292292
* @param expected The expected value
@@ -307,8 +307,8 @@ public static void assertEquals(short expected, short actual) {
307307
}
308308

309309
/**
310-
* Asserts that two ints are equal. If they are not an AssertionError is thrown with the
311-
* given message.
310+
* Asserts that two ints are equal. If they are not an AssertionError is thrown with the given
311+
* message.
312312
*
313313
* @param message The message
314314
* @param expected The expected value
@@ -338,8 +338,7 @@ public static void assertNotNull(Object object) {
338338
}
339339

340340
/**
341-
* Asserts that an object isn't null. If it is an AssertionError is thrown with the given
342-
* message.
341+
* Asserts that an object isn't null. If it is an AssertionError is thrown with the given message.
343342
*
344343
* @param message The message
345344
* @param object The actual object
@@ -369,8 +368,8 @@ public static void assertNull(String message, Object object) {
369368
}
370369

371370
/**
372-
* Asserts that two objects refer to the same object. If they are not an AssertionError is
373-
* thrown with the given message.
371+
* Asserts that two objects refer to the same object. If they are not an AssertionError is thrown
372+
* with the given message.
374373
*
375374
* @param message The message
376375
* @param expected The expected value
@@ -384,8 +383,8 @@ public static void assertSame(String message, Object expected, Object actual) {
384383
}
385384

386385
/**
387-
* Asserts that two objects refer to the same object. If they are not the same an
388-
* AssertionError is thrown.
386+
* Asserts that two objects refer to the same object. If they are not the same an AssertionError
387+
* is thrown.
389388
*
390389
* @param expected The expected value
391390
* @param actual The actual value
@@ -395,8 +394,8 @@ public static void assertSame(Object expected, Object actual) {
395394
}
396395

397396
/**
398-
* Asserts that two objects refer to the same object. If they are not an AssertionError is
399-
* thrown with the given message.
397+
* Asserts that two objects refer to the same object. If they are not an AssertionError is thrown
398+
* with the given message.
400399
*
401400
* @param message The message
402401
* @param expected The expected value
@@ -409,8 +408,8 @@ public static void assertNotSame(String message, Object expected, Object actual)
409408
}
410409

411410
/**
412-
* Asserts that two objects refer to the same object. If they are not the same an
413-
* AssertionError is thrown.
411+
* Asserts that two objects refer to the same object. If they are not the same an AssertionError
412+
* is thrown.
414413
*
415414
* @param expected The expected value
416415
* @param actual The actual value

0 commit comments

Comments
 (0)