(t *testing.T, c *TestData)
| 114 | } |
| 115 | } |
| 116 | func runNonTxnMetaCase(t *testing.T, c *TestData) { |
| 117 | meta, err := NewTxnMeta(c.ops[0]) |
| 118 | if err != nil { |
| 119 | t.Fatalf("case %s: failed to parse op: %v", c.name, err) |
| 120 | } |
| 121 | if meta.IsTxn() { |
| 122 | t.Errorf("case %s: non-txn meta looks like transaction", c.name) |
| 123 | } |
| 124 | return |
| 125 | } |
| 126 | func runTxnMetaCase(t *testing.T, c *TestData) { |
| 127 | ops := c.ops |
| 128 | // Double check that we get all the ops we expected. |
no test coverage detected