fixing test for updated unqlite

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2017-10-30 22:31:53 -04:00
parent 32da34b741
commit 5b5ff55501
Signed by: vbatts
GPG key ID: 10937E57733F1362

View file

@ -3,9 +3,10 @@ package unqlitego
import ( import (
"bytes" "bytes"
"fmt" "fmt"
. "github.com/r7kamura/gospel"
"io/ioutil" "io/ioutil"
"testing" "testing"
. "github.com/r7kamura/gospel"
) )
func Testライブラリ(t *testing.T) { func Testライブラリ(t *testing.T) {
@ -15,16 +16,16 @@ func Testライブラリ(t *testing.T) {
Expect(IsThreadSafe()).To(Equal, true) Expect(IsThreadSafe()).To(Equal, true)
}) })
It("Version", func() { It("Version", func() {
Expect(Version()).To(Equal, "1.1.6") Expect(Version()).To(Equal, "1.1.7")
}) })
It("Signature", func() { It("Signature", func() {
Expect(Signature()).To(Equal, "unqlite/1.1.6") Expect(Signature()).To(Equal, "unqlite/1.1.7")
}) })
It("Ident", func() { It("Ident", func() {
Expect(Ident()).To(Equal, "unqlite:b172a1e2c3f62fb35c8e1fb2795121f82356cad6") Expect(Ident()).To(Equal, "unqlite:b172a1e2c3f62fb35c8e1fb2795121f82356cad6")
}) })
It("Copyright", func() { It("Copyright", func() {
Expect(Copyright()).To(Equal, "Copyright (C) Symisc Systems, S.U.A.R.L [Mrad Chems Eddine <chm@symisc.net>] 2012-2013, http://unqlite.org/") Expect(Copyright()).To(Equal, `Copyright (C) Symisc Systems, S.U.A.R.L [Mrad Chems Eddine <chm@symisc.net>] 2012-2016, http://unqlite.org/`)
}) })
}) })
}) })