| 1 | package reql_testsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ |
| 2 | |
| 3 | import ( |
| 4 | "github.com/stretchr/testify/suitescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/" |
| 5 | rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ "gopkg.in/rethinkdb/rethinkdb-go.v6scip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/" |
| 6 | "gopkg.in/rethinkdb/rethinkdb-go.v6/internal/comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/" |
| 7 | "testingscip-go gomod github.com/golang/go/src go1.14 testing/" |
| 8 | ) |
| 9 | |
| 10 | // Test edge cases of write hook |
| 11 | func TestWriteHookSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TestWriteHookSuite().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) { |
| 12 | suitescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/.Runscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Run().(t, new(WriteHookscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#)) |
| 13 | } |
| 14 | |
| 15 | type WriteHookscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook# struct { |
| 16 | suitescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#Suite. |
| 17 | |
| 18 | sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session. *rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Session# |
| 19 | } |
| 20 | |
| 21 | func (suite *WriteHookscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#) SetupTestscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#SetupTest().() { |
| 22 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Setting up WriteHook") |
| 23 | |
| 24 | session, err := rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Connectscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Connect().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.ConnectOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ConnectOpts#{ |
| 25 | Addressscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ConnectOpts#Address.: urlscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/url., |
| 26 | }) |
| 27 | suite.Requirescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#Require().().NoErrorscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/require`/Assertions#NoError().(err, "Error returned when connecting to server") |
| 28 | suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session. = session |
| 29 | |
| 30 | rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBDropscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DBDrop().("db_hook").Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session.) |
| 31 | err = rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBCreatescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DBCreate().("db_hook").Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session.) |
| 32 | suite.Requirescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#Require().().NoErrorscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/require`/Assertions#NoError().(err) |
| 33 | err = rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DB().("db_hook").Waitscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Wait().().Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session.) |
| 34 | suite.Requirescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#Require().().NoErrorscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/require`/Assertions#NoError().(err) |
| 35 | |
| 36 | rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DB().("db_hook").TableDropscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#TableDrop().("test").Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session.) |
| 37 | err = rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DB().("db_hook").TableCreatescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#TableCreate().("test").Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session.) |
| 38 | suite.Requirescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#Require().().NoErrorscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/require`/Assertions#NoError().(err) |
| 39 | err = rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DB().("db_hook").Tablescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Table().("test").Waitscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Wait().().Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session.) |
| 40 | suite.Requirescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#Require().().NoErrorscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/require`/Assertions#NoError().(err) |
| 41 | } |
| 42 | |
| 43 | func (suite *WriteHookscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#) TearDownSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#TearDownSuite().() { |
| 44 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Tearing down WriteHook") |
| 45 | |
| 46 | if suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session. != nil { |
| 47 | err := rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBDropscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DBDrop().("db_hook").Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session.) |
| 48 | suite.Requirescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#Require().().NoErrorscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/require`/Assertions#NoError().(err) |
| 49 | |
| 50 | suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session..Closescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Session#Close().() |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | func (suite *WriteHookscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#) TestCasesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#TestCases().() { |
| 55 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Running WriteHook: Test edge cases of write hooks") |
| 56 | |
| 57 | runOpts := rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 58 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 59 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 60 | } |
| 61 | |
| 62 | table := rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DB().("db_hook").Tablescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Table().("test") |
| 63 | wcField := "write_counter" |
| 64 | |
| 65 | { |
| 66 | var q = table.SetWriteHookscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#SetWriteHook().(func(id rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Termscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#, oldVal rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Termscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#, newVal rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Termscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#) rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Termscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term# { |
| 67 | return newVal |
| 68 | }) |
| 69 | var expected_ = comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/.PartialMatchscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/PartialMatch().(map[string]interface{}{"created": 1}) |
| 70 | |
| 71 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logfscip-go gomod github.com/golang/go/src go1.14 testing/common#Logf().("About to run line #1: %v", q) |
| 72 | |
| 73 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#Suite., expected_, q, suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session., runOpts) |
| 74 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #1") |
| 75 | } |
| 76 | |
| 77 | { |
| 78 | var q = table.SetWriteHookscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#SetWriteHook().(nil) |
| 79 | var expected_ = comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/.PartialMatchscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/PartialMatch().(map[string]interface{}{"deleted": 1}) |
| 80 | |
| 81 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logfscip-go gomod github.com/golang/go/src go1.14 testing/common#Logf().("About to run line #2: %v", q) |
| 82 | |
| 83 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#Suite., expected_, q, suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session., runOpts) |
| 84 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #2") |
| 85 | } |
| 86 | |
| 87 | { |
| 88 | var q = table.SetWriteHookscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#SetWriteHook().(func(id rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Termscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#, oldVal rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Termscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#, newVal rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Termscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#) rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Termscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term# { |
| 89 | return newVal |
| 90 | }) |
| 91 | var expected_ = comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/.PartialMatchscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/PartialMatch().(map[string]interface{}{"created": 1}) |
| 92 | |
| 93 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logfscip-go gomod github.com/golang/go/src go1.14 testing/common#Logf().("About to run line #3: %v", q) |
| 94 | |
| 95 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#Suite., expected_, q, suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session., runOpts) |
| 96 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #3") |
| 97 | } |
| 98 | |
| 99 | { |
| 100 | var q = table.SetWriteHookscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#SetWriteHook().(func(id rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Termscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#, oldVal rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Termscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#, newVal rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Termscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#) rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Termscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term# { |
| 101 | return rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Branchscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Branch().(oldVal.Andscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#And().(newVal), |
| 102 | newVal.Mergescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Merge().(map[string]rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Termscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#{wcField: oldVal.Fieldscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Field().(wcField).Addscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Add().(1)}), |
| 103 | newVal, |
| 104 | newVal.Mergescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Merge().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Exprscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Expr().(map[string]int{wcField: 1})), |
| 105 | rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Errorscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Error().("no delete"), |
| 106 | ) |
| 107 | }) |
| 108 | var expected_ = comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/.PartialMatchscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/PartialMatch().(map[string]interface{}{"replaced": 1}) |
| 109 | |
| 110 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logfscip-go gomod github.com/golang/go/src go1.14 testing/common#Logf().("About to run line #4: %v", q) |
| 111 | |
| 112 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#Suite., expected_, q, suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session., runOpts) |
| 113 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #4") |
| 114 | } |
| 115 | |
| 116 | { |
| 117 | var q = table.Insertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Insert().(map[string]interface{}{"id": 1}, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.InsertOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/InsertOpts#{ReturnChangesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/InsertOpts#ReturnChanges.: true}) |
| 118 | var expected_ = comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/.PartialMatchscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/PartialMatch().(map[string]interface{}{ |
| 119 | "changes": []interface{}{ |
| 120 | map[string]interface{}{ |
| 121 | "new_val": map[string]interface{}{"id": 1, wcField: 1}, |
| 122 | "old_val": interface{}(nil), |
| 123 | }}, |
| 124 | "inserted": 1, |
| 125 | }) |
| 126 | |
| 127 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logfscip-go gomod github.com/golang/go/src go1.14 testing/common#Logf().("About to run line #5: %v", q) |
| 128 | |
| 129 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#Suite., expected_, q, suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session., runOpts) |
| 130 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #5") |
| 131 | } |
| 132 | |
| 133 | { |
| 134 | var q = table.Replacescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Replace().(map[string]interface{}{"id": 1, "text": "abc"}, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.ReplaceOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ReplaceOpts#{ReturnChangesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ReplaceOpts#ReturnChanges.: true}) |
| 135 | var expected_ = comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/.PartialMatchscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/PartialMatch().(map[string]interface{}{ |
| 136 | "changes": []interface{}{ |
| 137 | map[string]interface{}{ |
| 138 | "new_val": map[string]interface{}{"id": 1, wcField: 2, "text": "abc"}, |
| 139 | "old_val": map[string]interface{}{"id": 1, wcField: 1}, |
| 140 | }}, |
| 141 | "replaced": 1, |
| 142 | }) |
| 143 | |
| 144 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logfscip-go gomod github.com/golang/go/src go1.14 testing/common#Logf().("About to run line #6: %v", q) |
| 145 | |
| 146 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#Suite., expected_, q, suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session., runOpts) |
| 147 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #6") |
| 148 | } |
| 149 | |
| 150 | { |
| 151 | var q = table.Getscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Get().(1).Updatescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Update().(map[string]interface{}{"text": "def"}, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.UpdateOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/UpdateOpts#{ReturnChangesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/UpdateOpts#ReturnChanges.: true}) |
| 152 | var expected_ = comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/.PartialMatchscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/PartialMatch().(map[string]interface{}{ |
| 153 | "changes": []interface{}{ |
| 154 | map[string]interface{}{ |
| 155 | "new_val": map[string]interface{}{"id": 1, wcField: 3, "text": "def"}, |
| 156 | "old_val": map[string]interface{}{"id": 1, wcField: 2, "text": "abc"}, |
| 157 | }}, |
| 158 | "replaced": 1, |
| 159 | }) |
| 160 | |
| 161 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logfscip-go gomod github.com/golang/go/src go1.14 testing/common#Logf().("About to run line #7: %v", q) |
| 162 | |
| 163 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#Suite., expected_, q, suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session., runOpts) |
| 164 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #7") |
| 165 | } |
| 166 | |
| 167 | { |
| 168 | var q = table.Getscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Get().(1).Deletescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Delete().() |
| 169 | var expected_ = comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/.PartialMatchscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/PartialMatch().(map[string]interface{}{ |
| 170 | "first_error": "Error in write hook: no delete", |
| 171 | "errors": 1, |
| 172 | }) |
| 173 | |
| 174 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logfscip-go gomod github.com/golang/go/src go1.14 testing/common#Logf().("About to run line #8: %v", q) |
| 175 | |
| 176 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#Suite., expected_, q, suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session., runOpts) |
| 177 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #8") |
| 178 | } |
| 179 | |
| 180 | { |
| 181 | var q = table.Insertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Insert().(map[string]interface{}{"id": 2}, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.InsertOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/InsertOpts#{ReturnChangesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/InsertOpts#ReturnChanges.: true, IgnoreWriteHookscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/InsertOpts#IgnoreWriteHook.: true}) |
| 182 | var expected_ = comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/.PartialMatchscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/PartialMatch().(map[string]interface{}{ |
| 183 | "changes": []interface{}{ |
| 184 | map[string]interface{}{ |
| 185 | "new_val": map[string]interface{}{"id": 2}, |
| 186 | "old_val": interface{}(nil), |
| 187 | }}, |
| 188 | "inserted": 1, |
| 189 | }) |
| 190 | |
| 191 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logfscip-go gomod github.com/golang/go/src go1.14 testing/common#Logf().("About to run line #9: %v", q) |
| 192 | |
| 193 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#Suite., expected_, q, suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session., runOpts) |
| 194 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #9") |
| 195 | } |
| 196 | |
| 197 | { |
| 198 | var q = table.Replacescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Replace().(map[string]interface{}{"id": 2, "text": "abc"}, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.ReplaceOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ReplaceOpts#{ReturnChangesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ReplaceOpts#ReturnChanges.: true, IgnoreWriteHookscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ReplaceOpts#IgnoreWriteHook.: true}) |
| 199 | var expected_ = comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/.PartialMatchscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/PartialMatch().(map[string]interface{}{ |
| 200 | "changes": []interface{}{ |
| 201 | map[string]interface{}{ |
| 202 | "new_val": map[string]interface{}{"id": 2, "text": "abc"}, |
| 203 | "old_val": map[string]interface{}{"id": 2}, |
| 204 | }}, |
| 205 | "replaced": 1, |
| 206 | }) |
| 207 | |
| 208 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logfscip-go gomod github.com/golang/go/src go1.14 testing/common#Logf().("About to run line #10: %v", q) |
| 209 | |
| 210 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#Suite., expected_, q, suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session., runOpts) |
| 211 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #10") |
| 212 | } |
| 213 | |
| 214 | { |
| 215 | var q = table.Getscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Get().(2).Updatescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Update().(map[string]interface{}{"text": "def"}, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.UpdateOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/UpdateOpts#{ReturnChangesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/UpdateOpts#ReturnChanges.: true, IgnoreWriteHookscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/UpdateOpts#IgnoreWriteHook.: true}) |
| 216 | var expected_ = comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/.PartialMatchscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/PartialMatch().(map[string]interface{}{ |
| 217 | "changes": []interface{}{ |
| 218 | map[string]interface{}{ |
| 219 | "new_val": map[string]interface{}{"id": 2, "text": "def"}, |
| 220 | "old_val": map[string]interface{}{"id": 2, "text": "abc"}, |
| 221 | }}, |
| 222 | "replaced": 1, |
| 223 | }) |
| 224 | |
| 225 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logfscip-go gomod github.com/golang/go/src go1.14 testing/common#Logf().("About to run line #11: %v", q) |
| 226 | |
| 227 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#Suite., expected_, q, suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session., runOpts) |
| 228 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #11") |
| 229 | } |
| 230 | |
| 231 | { |
| 232 | var q = table.Getscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Get().(2).Deletescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Delete().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DeleteOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DeleteOpts#{IgnoreWriteHookscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DeleteOpts#IgnoreWriteHook.: true}) |
| 233 | var expected_ = comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/.PartialMatchscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/PartialMatch().(map[string]interface{}{"deleted": 1}) |
| 234 | |
| 235 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logfscip-go gomod github.com/golang/go/src go1.14 testing/common#Logf().("About to run line #12: %v", q) |
| 236 | |
| 237 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#Suite., expected_, q, suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/WriteHook#session., runOpts) |
| 238 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #12") |
| 239 | } |
| 240 | } |