!14 Fixed typo in ck_assert_str_eq doc
From: @linker99 Reviewed-by: @Charlie_li Signed-off-by: @Charlie_li
This commit is contained in:
commit
c59e0b5681
25
check-0.12.0-Fixed-typo-in-ck_assert_str_eq-doc.patch
Normal file
25
check-0.12.0-Fixed-typo-in-ck_assert_str_eq-doc.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From dd6fa23814a1e552652a407dff210e6606944b4f Mon Sep 17 00:00:00 2001
|
||||
From: foviedoITBA <foviedo@itba.edu.ar>
|
||||
Date: Thu, 16 Nov 2017 16:55:30 -0300
|
||||
Subject: [PATCH] Fixed typo in ck_assert_str_eq doc
|
||||
|
||||
---
|
||||
src/check.h.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/check.h.in b/src/check.h.in
|
||||
index 7966126..9e03d20 100644
|
||||
--- a/src/check.h.in
|
||||
+++ b/src/check.h.in
|
||||
@@ -1430,7 +1430,7 @@ do { \
|
||||
* Check two strings to determine if 0==strcmp(X,Y)
|
||||
*
|
||||
* If X or Y is NULL the test failes.
|
||||
- * If (0==strcmp(X,Y)), the test fails.
|
||||
+ * If not 0==strcmp(X,Y), the test fails.
|
||||
*
|
||||
* @param X string
|
||||
* @param Y string to compare against X
|
||||
--
|
||||
2.27.0
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: check
|
||||
Version: 0.12.0
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: A unit testing framework for C
|
||||
Source0: https://github.com/libcheck/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
License: LGPLv2+
|
||||
@ -8,6 +8,7 @@ URL: http://libcheck.github.io/check/
|
||||
Patch0: %{name}-0.11.0-info-in-builddir.patch
|
||||
Patch1: %{name}-0.11.0-fp.patch
|
||||
Patch2: %{name}-0.12.0-Add-warning-on-floating-point-eq-and-ne-assertions.patch
|
||||
Patch3: %{name}-0.12.0-Fixed-typo-in-ck_assert_str_eq-doc.patch
|
||||
|
||||
BuildRequires: gcc libtool patchutils pkgconfig
|
||||
BuildRequires: subunit-devel texinfo
|
||||
@ -94,6 +95,9 @@ make check
|
||||
%{_mandir}/man1/checkmk.1*
|
||||
|
||||
%changelog
|
||||
* Tue Nov 14 2023 fandehui <fandehui@xfusion.com> - 0.12.0-6
|
||||
- Fixed typo in ck_assert_str_eq doc
|
||||
|
||||
* Thu Nov 9 2023 fandehui <fandehui@xfusion.com> - 0.12.0-5
|
||||
- Add warning on floating point eq and ne assertions
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user