good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
upper
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
open
upper
Commits
4188e881
Commit
4188e881
authored
Oct 26, 2013
by
Carlos Nieto
Browse files
Options
Downloads
Patches
Plain Diff
Fixing test for using non constant primary key.
parent
94e8fb27
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
sqlite/database_test.go
+2
-2
2 additions, 2 deletions
sqlite/database_test.go
with
2 additions
and
2 deletions
sqlite/database_test.go
+
2
−
2
View file @
4188e881
...
@@ -459,8 +459,8 @@ func TestUpdate(t *testing.T) {
...
@@ -459,8 +459,8 @@ func TestUpdate(t *testing.T) {
Name
string
Name
string
}{}
}{}
// Getting the artist
with id = 1
.
// Getting the
first
artist.
res
,
err
:=
artist
.
Filter
(
db
.
Cond
{
"id
"
:
1
}
)
res
,
err
:=
artist
.
Filter
(
db
.
Cond
{
"id
!="
:
0
},
db
.
Limit
(
1
)
)
if
err
!=
nil
{
if
err
!=
nil
{
t
.
Fatalf
(
err
.
Error
())
t
.
Fatalf
(
err
.
Error
())
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment