Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 01b6b6a

Browse files
author
openset
committed
Add: test case
1 parent 3287007 commit 01b6b6a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎problems/rotate-string/rotate_string_test.go‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ func TestRotateString(t *testing.T) {
2020
B: "abced",
2121
expected: false,
2222
},
23+
{
24+
A: "abcde",
25+
B: "abcdef",
26+
expected: false,
27+
},
2328
}
2429
for _, tc := range tests {
2530
output := rotateString(tc.A, tc.B)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /