1 |
commit: d5ece28caf03f95b9b306502e732f08194110baf |
2 |
Author: Mu Qiao <qiaomuf <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 26 08:47:51 2011 +0000 |
4 |
Commit: Petteri Räty <betelgeuse <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 26 14:56:45 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/libbash.git;a=commit;h=d5ece28c |
7 |
|
8 |
Test: correct the test case names for shopt |
9 |
|
10 |
--- |
11 |
src/builtins/tests/shopt_tests.cpp | 4 ++-- |
12 |
1 files changed, 2 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/src/builtins/tests/shopt_tests.cpp b/src/builtins/tests/shopt_tests.cpp |
15 |
index 434555b..14b99d0 100644 |
16 |
--- a/src/builtins/tests/shopt_tests.cpp |
17 |
+++ b/src/builtins/tests/shopt_tests.cpp |
18 |
@@ -26,7 +26,7 @@ |
19 |
#include "core/interpreter.h" |
20 |
#include "cppbash_builtin.h" |
21 |
|
22 |
-TEST(return_builtin_test, disable_extglob) |
23 |
+TEST(shopt_builtin_test, disable_extglob) |
24 |
{ |
25 |
interpreter walker; |
26 |
EXPECT_EQ(1, cppbash_builtin::exec("shopt", {"-u", "not exist"}, std::cout, std::cerr, std::cin, walker)); |
27 |
@@ -37,7 +37,7 @@ TEST(return_builtin_test, disable_extglob) |
28 |
EXPECT_FALSE(walker.get_option("cdspell")); |
29 |
} |
30 |
|
31 |
-TEST(return_builtin_test, enable_extglob) |
32 |
+TEST(shopt_builtin_test, enable_extglob) |
33 |
{ |
34 |
interpreter walker; |
35 |
EXPECT_EQ(1, cppbash_builtin::exec("shopt", {"-s", "not exist"}, std::cout, std::cerr, std::cin, walker)); |