Skip to content

Commit c01294f

Browse files
committed
[FIX] API Cron
1 parent 3862c8b commit c01294f

9 files changed

+51
-24
lines changed

test/api_stability/1.1.1/0001-API-Update-TDL.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From ca8c640b31970a92080d6c36cc7623de5c6b488b Mon Sep 17 00:00:00 2001
1+
From 374e3145cb713d6db165727c401ecb6c6d178364 Mon Sep 17 00:00:00 2001
22
From: Simon Gene Gottlieb <simon@gottliebtfreitag.de>
33
Date: Thu, 5 Oct 2023 13:43:30 +0200
4-
Subject: [PATCH 1/8] [API] Update TDL
4+
Subject: [PATCH 1/9] [API] Update TDL
55

66
---
77
test/unit/detail/format_ctd_test.cpp | 2 +-
@@ -84,5 +84,5 @@ index d2bb143..5591a88 100644
8484
"class: CommandLineTool\n"
8585
"baseCommand:\n"
8686
--
87-
2.43.2
87+
2.49.0
8888

test/api_stability/1.1.1/0002-API-Quoted-strings-and-paths.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 9ddea5a7db6e7436e157ed25e1cb368c3445bc84 Mon Sep 17 00:00:00 2001
1+
From fa7be0f2f41cdfa8d8633f50bd847bb9e279f82d Mon Sep 17 00:00:00 2001
22
From: Enrico Seiler <enrico.seiler@hotmail.de>
33
Date: Mon, 5 Feb 2024 16:02:03 +0100
4-
Subject: [PATCH 2/8] [API] Quoted strings and paths
4+
Subject: [PATCH 2/9] [API] Quoted strings and paths
55

66
---
77
test/snippet/readme_sneak_peek.out | 6 ++---
@@ -341,5 +341,5 @@ index cade0f9..ba1694d 100644
341341
+ basic_options_str + "\n" + basic_version_str;
342342
EXPECT_EQ(my_stdout, expected);
343343
--
344-
2.43.2
344+
2.49.0
345345

test/api_stability/1.1.1/0003-NOAPI-Update-copyright.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 69dfcfa3a693a398200dc7cac0ec6d76b1ecb443 Mon Sep 17 00:00:00 2001
1+
From e909fcaa7af21040c0a5bdc3a08ad222166bc8af Mon Sep 17 00:00:00 2001
22
From: Enrico Seiler <enrico.seiler@hotmail.de>
33
Date: Wed, 7 Feb 2024 13:31:22 +0100
4-
Subject: [PATCH 3/8] [NOAPI] Update copyright
4+
Subject: [PATCH 3/9] [NOAPI] Update copyright
55

66
---
77
test/unit/detail/format_help_test.cpp | 10 +++++-----
@@ -121,5 +121,5 @@ index 307b58b..eefffd6 100644
121121
testing::internal::CaptureStdout();
122122
EXPECT_EXIT(parser.parse(), ::testing::ExitedWithCode(EXIT_SUCCESS), "");
123123
--
124-
2.43.2
124+
2.49.0
125125

test/api_stability/1.1.1/0004-INFRA-Update-TDL.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 9ec785b9f7761bc020da7972a1c18b61bff53685 Mon Sep 17 00:00:00 2001
1+
From 51753316a678a0090cf662442f0f5bdff556ec7d Mon Sep 17 00:00:00 2001
22
From: Enrico Seiler <enrico.seiler@hotmail.de>
33
Date: Fri, 9 Feb 2024 16:17:21 +0100
4-
Subject: [PATCH 4/8] [INFRA] Update TDL
4+
Subject: [PATCH 4/9] [INFRA] Update TDL
55

66
---
77
test/unit/detail/format_cwl_test.cpp | 28 +++++++++++++++++++++++++++-
@@ -69,5 +69,5 @@ index 1d27cc3..eaf0cad 100644
6969
" path04:\n"
7070
" type: File?\n"
7171
--
72-
2.43.2
72+
2.49.0
7373

test/api_stability/1.1.1/0005-INFRA-Use-seqan3-main-branch.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 069d34a5d3997dfdd1b47cac24ef47931b534367 Mon Sep 17 00:00:00 2001
1+
From 2ef2616e6041875e7ca2c376e134addb902ca588 Mon Sep 17 00:00:00 2001
22
From: Enrico Seiler <enrico.seiler@hotmail.de>
33
Date: Fri, 9 Feb 2024 18:13:36 +0100
4-
Subject: [PATCH 5/8] [INFRA] Use seqan3 main branch
4+
Subject: [PATCH 5/9] [INFRA] Use seqan3 main branch
55

66
---
77
test/unit/detail/CMakeLists.txt | 2 +-
@@ -21,5 +21,5 @@ index 392f878..1f9a8e0 100644
2121
sharg_test (seqan3_test.cpp)
2222
target_include_directories (seqan3_test SYSTEM PUBLIC ${CMAKE_BINARY_DIR}/include)
2323
--
24-
2.43.2
24+
2.49.0
2525

test/api_stability/1.1.1/0006-API-FIX-positional-options-in-CWL-CTD.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 94f4ae3d0f188ff9193e05c26b71b5ab8e5398c6 Mon Sep 17 00:00:00 2001
1+
From f35ebe9a5be9356b54cb4a0307cbf10855717af2 Mon Sep 17 00:00:00 2001
22
From: Enrico Seiler <enrico.seiler@hotmail.de>
33
Date: Wed, 14 Feb 2024 12:34:40 +0100
4-
Subject: [PATCH 6/8] [API][FIX] positional options in CWL/CTD
4+
Subject: [PATCH 6/9] [API][FIX] positional options in CWL/CTD
55

66
---
77
test/unit/detail/format_ctd_test.cpp | 4 ++--
@@ -55,5 +55,5 @@ index eaf0cad..52079db 100644
5555
" doc: \"this is a int option. Default: 5\"\n"
5656
" type: long?\n"
5757
--
58-
2.43.2
58+
2.49.0
5959

test/api_stability/1.1.1/0007-API-MISC-Defer-everything-to-parse.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 458dd383728e5fbffda9c4f3a1470b321bb75386 Mon Sep 17 00:00:00 2001
1+
From c4278c4bd49e102046e3709883943e692a949c4f Mon Sep 17 00:00:00 2001
22
From: Enrico Seiler <enrico.seiler@hotmail.de>
33
Date: Mon, 29 Apr 2024 16:37:15 +0200
4-
Subject: [PATCH 7/8] [API][MISC] Defer everything to parse()
4+
Subject: [PATCH 7/9] [API][MISC] Defer everything to parse()
55

66
---
77
test/unit/detail/format_help_test.cpp | 2 +-
@@ -145,5 +145,5 @@ index 4c3406f..4d81119 100644
145145

146146
// no positional/options are allowed
147147
--
148-
2.43.2
148+
2.49.0
149149

test/api_stability/1.1.1/0008-API-MISC-Allow-options-for-subcommands.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 28c35ece0450603abf08bf2705aecbd8365f935a Mon Sep 17 00:00:00 2001
1+
From c46bff885491340b5306a4a421ae4d199700fa69 Mon Sep 17 00:00:00 2001
22
From: Enrico Seiler <enrico.seiler@hotmail.de>
33
Date: Mon, 29 Apr 2024 16:37:30 +0200
4-
Subject: [PATCH 8/8] [API][MISC] Allow options for subcommands
4+
Subject: [PATCH 8/9] [API][MISC] Allow options for subcommands
55

66
---
77
test/unit/parser/format_parse_test.cpp | 6 +++---
@@ -58,5 +58,5 @@ index 4d81119..e31a2e7 100644
5858
- }
5959
}
6060
--
61-
2.43.2
61+
2.49.0
6262

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
From 0347f577de59a062fc91e633d171de4acc8517df Mon Sep 17 00:00:00 2001
2+
From: Enrico Seiler <enrico.seiler@hotmail.de>
3+
Date: Wed, 2 Apr 2025 18:02:31 +0200
4+
Subject: [PATCH 9/9] [FIX] is_option_set: match both long and short ids
5+
6+
---
7+
test/unit/parser/format_parse_test.cpp | 4 ++--
8+
1 file changed, 2 insertions(+), 2 deletions(-)
9+
10+
diff --git a/test/unit/parser/format_parse_test.cpp b/test/unit/parser/format_parse_test.cpp
11+
index c2a8f58..8e5b7e2 100644
12+
--- a/test/unit/parser/format_parse_test.cpp
13+
+++ b/test/unit/parser/format_parse_test.cpp
14+
@@ -977,8 +977,8 @@ TEST(parse_test, is_option_set)
15+
EXPECT_TRUE(parser.is_option_set('l'));
16+
EXPECT_TRUE(parser.is_option_set("foobar"));
17+
18+
- EXPECT_FALSE(parser.is_option_set('f'));
19+
- EXPECT_FALSE(parser.is_option_set("loo")); // --loo is behind the `--` which signals the end of options!
20+
+ EXPECT_TRUE(parser.is_option_set('f'));
21+
+ EXPECT_TRUE(parser.is_option_set("loo")); // --loo is behind the `--` which signals the end of options!
22+
23+
// errors:
24+
EXPECT_THROW(parser.is_option_set("l"), sharg::design_error); // short identifiers are passed as chars not strings
25+
--
26+
2.49.0
27+

0 commit comments

Comments
 (0)