Skip to content

Commit

Permalink
Fixed for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderdean committed Sep 13, 2015
1 parent 26a7fc5 commit 9f15487
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
Version 0.2.0 (2015-08-25)
Version 0.2.0 (2015-09-13)
--------------------------
Fixed typo of "queries executed againt targets" (#20)
Added support for SSL connection to Postgres/Redshift database, thanks @dennisatspaceape! (#24)
Updated vagrant up to work with latest Peru version (#25)
Replaced bitbucket.org/kardianos/osext with github.com/kardianos/osext (#33)

Version 0.1.0 (2015-01-17)
--------------------------
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/postgres-sql/good/assert.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ DECLARE
expected_average_age CONSTANT integer := 25;
BEGIN
{{/* Update view names to today's date or Travis will error */}}
IF (SELECT average_age <> expected_average_age FROM {{.test_schema}}.view_2015_01_21) THEN
IF (SELECT average_age <> expected_average_age FROM {{.test_schema}}.view_2015_09_13) THEN
RAISE EXCEPTION 'Average_age % does not match expected age %',
(SELECT average_age FROM {{.test_schema}}.view_2015_01_21),
(SELECT average_age FROM {{.test_schema}}.view_2015_09_13),
expected_average_age;
END IF;
END;
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
package main

import (
"github.com/kardianos/osext"
"fmt"
"github.com/kardianos/osext"
"github.com/snowplow/sql-runner/playbook"
"github.com/snowplow/sql-runner/run"
"log"
Expand Down
2 changes: 1 addition & 1 deletion playbook/playbook.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type Playbook struct {

type Target struct {
Name, Type, Host, Database, Port, Username, Password string
Ssl bool
Ssl bool
}

type Step struct {
Expand Down

0 comments on commit 9f15487

Please sign in to comment.