use file-enable in tests to make it harder to get the syntax enable/disabling wrong
[clsql.git] / tests / test-internal.lisp
index 1416862fc27c308a04c2791c9cd07e0e42f2df72..8ee2b031c6df7986a63d89a2125bd915c1167309 100644 (file)
@@ -15,6 +15,7 @@
 ;;;; *************************************************************************
 
 (in-package #:clsql-tests)
+(clsql-sys:file-enable-sql-reader-syntax)
 
 (setq *rt-internal*
   '(
@@ -39,7 +40,6 @@
       "SELECT 'FOO' FROM BAR WHERE ID='Match?''?' AND CODE=$1")
 
     (deftest :int/output-caching/1
-     #.(locally-enable-sql-reader-syntax)
      ;; ensure that key generation and matching is working
      ;; so that this table doesnt balloon (more than designed)
      (list
@@ -60,7 +60,6 @@
      (1 2 2))
 
     (deftest :int/output-caching/2
-     #.(locally-enable-sql-reader-syntax)
      ;; ensure that we can disable the output cache and
      ;; still have everything work
      (let ((clsql-sys::*output-hash*))