From 402af8f332a2005bfebfae62e97a740831926572 Mon Sep 17 00:00:00 2001 From: capo-at-the-5th-fret Date: Mon, 20 Nov 2023 06:00:17 -0500 Subject: [PATCH] Fix conversion error in GitTest.cpp (#286) --- src/modules/git/GitTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/git/GitTest.cpp b/src/modules/git/GitTest.cpp index 725ea3689..69d0a1a32 100644 --- a/src/modules/git/GitTest.cpp +++ b/src/modules/git/GitTest.cpp @@ -39,7 +39,7 @@ std::string GitTest::generateShaRegex() TEST_F(GitTest, shouldGenerateBranch) { const auto branch = Git::branch(); - unsigned long branchSplit = faker::StringHelper::split(branch, "-").size(); + const auto branchSplit = faker::StringHelper::split(branch, "-").size(); ASSERT_TRUE(2 <= branchSplit && branchSplit <= 7); }