on dev help sign in
fix test
commit3004caaf9f525f9470d74c279873aed9cc98d992 authorEitan Chatav <eitan.chatav@gmail.com> dateTue 4 Sep 2018, 09:47 (8 years ago) parent5becf22
1 file changed+1−1
squeal-postgresql/test/Specs/ExceptionHandling.hs+1−1
squeal-postgresql/test/Specs/ExceptionHandling.hs+1−1
@@ -109,7 +109,7 @@ specs = before_ setupDB $ after_ dropDB $
109109 describe "Exceptions" $ do
110110
111111 let
112− dupKeyErr = SquealException FatalError (Just "23505")
112+ dupKeyErr = PQException FatalError (Just "23505")
113113 (Just "ERROR: duplicate key value violates unique constraint \"unique_names\"\nDETAIL: Key (name)=(TestUser) already exists.\n")
114114
115115 it "should be thrown for unique constraint violation in a manipulation" $