Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
The apostrophe gave the pretty printer problems
  • Loading branch information
noloader committed Jun 23, 2023
1 parent cc92082 commit 0b04c12
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions TestScripts/cryptest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1270,28 +1270,28 @@ if true; then
TEST_LIST+=("C++ std::min, std::max")
FAILED=0

# If this fires, then use the library's STDMIN(a,b) or (std::min)(a, b);
# If this fires, then use STDMIN(a,b) or (std::min)(a, b);
COUNT=$(cat ./*.h ./*.cpp | "${GREP}" -v '//' | "${GREP}" -c -E 'std::min[[:space:]]*\(')
if [[ "$COUNT" -ne 0 ]]; then
FAILED=1
echo "FAILED: found std::min" | tee -a "$TEST_RESULTS"
fi

# If this fires, then use the library's STDMAX(a,b) or (std::max)(a, b);
# If this fires, then use STDMAX(a,b) or (std::max)(a, b);
COUNT=$(cat ./*.h ./*.cpp | "${GREP}" -v '//' | "${GREP}" -c -E 'std::max[[:space:]]*\(')
if [[ "$COUNT" -ne 0 ]]; then
FAILED=1
echo "FAILED: found std::max" | tee -a "$TEST_RESULTS"
fi

# If this fires, then use the library's STDMIN(a,b) or (std::min)(a, b);
# If this fires, then use STDMIN(a,b) or (std::min)(a, b);
COUNT=$(cat ./*.h ./*.cpp | "${GREP}" -v '//' | "${GREP}" -c -E 'std::numeric_limits<.*>::min[[:space:]]*\(')
if [[ "$COUNT" -ne 0 ]]; then
FAILED=1
echo "FAILED: found std::numeric_limits<T>::min" | tee -a "$TEST_RESULTS"
fi

# If this fires, then use the library's STDMAX(a,b) or (std::max)(a, b);
# If this fires, then use STDMAX(a,b) or (std::max)(a, b);
COUNT=$(cat ./*.h ./*.cpp | "${GREP}" -v '//' | "${GREP}" -c -E 'std::numeric_limits<.*>::max[[:space:]]*\(')
if [[ "$COUNT" -ne 0 ]]; then
FAILED=1
Expand Down

0 comments on commit 0b04c12

Please sign in to comment.