This website works better with JavaScript.
Home
Explore
Help
Sign In
brettlangdon
/
pypihub
mirror of
https://github.com/brettlangdon/pypihub.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1
Wiki
Activity
Browse Source
Adds test for GetAll for existing request
Pieter Joost van de Sande
13 years ago
committed by
Adam Mckaig
parent
da513c3221
commit
fac5866e50
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
context_test.go
+ 5
- 0
context_test.go
View File
@ -51,6 +51,11 @@ func TestContext(t *testing.T) {
assertEqual
(
value
,
nil
)
assertEqual
(
ok
,
true
)
// GetAll()
values
,
ok
:=
GetAll
(
r
)
assertEqual
(
ok
,
true
)
assertEqual
(
len
(
values
)
,
3
)
// Delete()
Delete
(
r
,
key1
)
assertEqual
(
Get
(
r
,
key1
)
,
nil
)
Write
Preview
Loading…
Cancel
Save