Skip to content
Prev Previous commit
replace date_day type in error message
  • Loading branch information
gshank committed Mar 15, 2023
commit 6a98e60c775038386f1188e454cbfe7eab6254bc
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ def test__constraints_wrong_column_names(self, project, string_type, int_type):

expected_compile_error = "Please ensure the name, data_type, and number of columns in your `yml` file match the columns in your SQL file."
expected_schema_file_columns = (
f"Schema File Columns: id {int_type}, color {string_type}, date_day TEXT"
f"Schema File Columns: id {int_type}, color {string_type}, date_day {string_type}"
)
expected_sql_file_columns = (
f"SQL File Columns: color {string_type}, error {int_type}, date_day TEXT"
f"SQL File Columns: color {string_type}, error {int_type}, date_day {string_type}"
)

assert expected_compile_error in log_output
Expand Down