Skip to content

Commit 6884a58

Browse files
committed
chore: update
1 parent 724344c commit 6884a58

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

helper/README.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# How to use?
2+
3+
Very Easy!
4+
5+
```bash
6+
./init 123 # '123' is the problem number.
7+
```
8+
9+
Automatically create a solution template in `../solutions/`.
File renamed without changes.

solutions/remove_nth_node_from_end_of_list/removeNthFromEnd_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ func Test_removeNthFromEnd_0(t *testing.T) {
1010
assert.Empty(t, removeNthFromEnd(nil, 0))
1111
assert.Empty(t, removeNthFromEnd(nil, 1))
1212
assert.Empty(t, removeNthFromEnd(&ListNode{}, 1))
13-
assert.NotEmpty(t, removeNthFromEnd(&ListNode{}, 0))
13+
assert.Empty(t, removeNthFromEnd(&ListNode{}, 0))
1414
}
1515

1616
func Test_removeNthFromEnd_1(t *testing.T) {

0 commit comments

Comments
 (0)