Skip to content

Commit 4a0bd5e

Browse files
committed
unfck lint
1 parent 6d6acd4 commit 4a0bd5e

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

tests/random_string.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ float cygwin_strtof_l(char const *start, char **end) {
5454
class RandomEngine {
5555
public:
5656
RandomEngine() = delete;
57-
RandomEngine(uint64_t new_seed) : wyhash64_x_(new_seed){};
57+
RandomEngine(uint64_t new_seed) : wyhash64_x_(new_seed) {};
5858

5959
uint64_t next() {
6060
// Adapted from https://github.com/wangyi-fudan/wyhash/blob/master/wyhash.h
@@ -258,9 +258,9 @@ bool tester(uint64_t seed, size_t volume) {
258258
int main() {
259259
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || \
260260
defined(sun) || defined(__sun)
261-
std::cout << "Warning: msys/cygwin or solaris detected. This particular test is likely "
262-
"to generate false failures due to our reliance on the "
263-
"underlying runtime library."
261+
std::cout << "Warning: msys/cygwin or solaris detected. This particular test "
262+
"is likely to generate false failures due to our reliance on "
263+
"the underlying runtime library."
264264
<< std::endl;
265265
return EXIT_SUCCESS;
266266
#else

tests/short_random_string.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ float cygwin_strtof_l(char const *start, char **end) {
5454
class RandomEngine {
5555
public:
5656
RandomEngine() = delete;
57-
RandomEngine(uint64_t new_seed) : wyhash64_x_(new_seed){};
57+
RandomEngine(uint64_t new_seed) : wyhash64_x_(new_seed) {};
5858

5959
uint64_t next() {
6060
// Adapted from https://github.com/wangyi-fudan/wyhash/blob/master/wyhash.h
@@ -253,9 +253,9 @@ bool tester(uint64_t seed, size_t volume) {
253253
int main() {
254254
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || \
255255
defined(sun) || defined(__sun)
256-
std::cout << "Warning: msys/cygwin or solaris detected. This particular test is likely "
257-
"to generate false failures due to our reliance on the "
258-
"underlying runtime library."
256+
std::cout << "Warning: msys/cygwin or solaris detected. This particular test "
257+
"is likely to generate false failures due to our reliance on "
258+
"the underlying runtime library."
259259
<< std::endl;
260260
return EXIT_SUCCESS;
261261
#else

0 commit comments

Comments
 (0)