[Groonga-commit] nroonga/nroonga at 48492ae [master] Fix to test error message

Back to archive index

abetomo null+****@clear*****
Tue Sep 12 18:05:48 JST 2017


abetomo	2017-09-12 18:05:48 +0900 (Tue, 12 Sep 2017)

  New Revision: 48492ae3def1816b811af7b331fa2e3156e57e2c
  https://github.com/nroonga/nroonga/commit/48492ae3def1816b811af7b331fa2e3156e57e2c

  Merged cfc981a: Merge pull request #22 from abetomo/add_test_when_groonga_got_an_error

  Message:
    Fix to test error message

  Modified files:
    test/database.test.js

  Modified: test/database.test.js (+1 -1)
===================================================================
--- test/database.test.js    2017-09-12 16:42:03 +0900 (ef205ca)
+++ test/database.test.js    2017-09-12 18:05:48 +0900 (cce855d)
@@ -138,7 +138,7 @@ describe('empty database', () => {
 
 describe('database whose name is not string', () => {
   it('should throw an exception', () => {
-    expect(() => new nroonga.Database(1)).to.throw()
+    expect(() => new nroonga.Database(1)).to.throw('Bad parameter')
   })
 })
 
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20170912/3b5b0664/attachment.htm 



More information about the Groonga-commit mailing list
Back to archive index