Skip to content

Commit

Permalink
Issue #112 was fixed in the formatter merge, adding tests here to avo…
Browse files Browse the repository at this point in the history
…id regression
  • Loading branch information
sparkprime committed Mar 1, 2016
1 parent 3a65d9d commit 34e85ae
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test_suite/error.parse.array_comma.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
Copyright 2015 Google Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

[1, 2 3]
1 change: 1 addition & 0 deletions test_suite/error.parse.array_comma.jsonnet.golden
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
STATIC ERROR: error.parse.array_comma.jsonnet:17:7: Expected a comma before next array element.

0 comments on commit 34e85ae

Please sign in to comment.