Skip to content

Commit

Permalink
Minor formatting adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Peterson authored and Eric Peterson committed Dec 6, 2016
1 parent 1f41186 commit 971489e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/specs/Query/Builder+GrammarSpec.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ component extends="testbox.system.BaseSpec" {
var builder = getBuilder();
builder.select( "foo as bar" ).from( "users" );
expect( builder.toSql() ).toBe(
"SELECT ""foo"" AS ""bar"" from ""users"""
"SELECT ""foo"" AS ""bar"" FROM ""users"""
);
} );

it( "wraps columns and aliases correctly", function() {
var builder = getBuilder();
builder.select( "x.y as foo.bar" ).from( "public.users" );
expect( builder.toSql() ).toBe(
"SELECT ""x"".""y"" AS ""foo.bar"" from ""public"".""users"""
"SELECT ""x"".""y"" AS ""foo.bar"" FROM ""public"".""users"""
);
} );
} );
Expand Down

0 comments on commit 971489e

Please sign in to comment.