Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张磊
/
FileStorageBeego
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
deb28dd8
authored
2014-04-04 10:16:34 +0800
by
astaxie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix session test case
1 parent
7f394fea
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
session/sess_test.go
session/sess_test.go
View file @
deb28dd
...
...
@@ -10,11 +10,11 @@ func Test_gob(t *testing.T) {
a
:=
make
(
map
[
interface
{}]
interface
{})
a
[
"username"
]
=
"astaxie"
a
[
12
]
=
234
b
,
err
:=
e
ncodeGob
(
a
)
b
,
err
:=
E
ncodeGob
(
a
)
if
err
!=
nil
{
t
.
Error
(
err
)
}
c
,
err
:=
d
ecodeGob
(
b
)
c
,
err
:=
D
ecodeGob
(
b
)
if
err
!=
nil
{
t
.
Error
(
err
)
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment