@@ -268,7 +268,7 @@ func TestNextPointCloud(t *testing.T) {
268
268
// Confirm the end of the dataset was reached when expected
269
269
pc , err := replayCamera .NextPointCloud (ctx )
270
270
test .That (t , err , test .ShouldNotBeNil )
271
- test .That (t , err .Error (), test .ShouldContainSubstring , errEndOfDataset .Error ())
271
+ test .That (t , err .Error (), test .ShouldContainSubstring , ErrEndOfDataset .Error ())
272
272
test .That (t , pc , test .ShouldBeNil )
273
273
274
274
err = replayCamera .Close (ctx )
@@ -303,7 +303,7 @@ func TestLiveNextPointCloud(t *testing.T) {
303
303
pc , err := replayCamera .NextPointCloud (ctx )
304
304
if i == numPCDFiles {
305
305
test .That (t , err , test .ShouldNotBeNil )
306
- test .That (t , err .Error (), test .ShouldContainSubstring , errEndOfDataset .Error ())
306
+ test .That (t , err .Error (), test .ShouldContainSubstring , ErrEndOfDataset .Error ())
307
307
test .That (t , pc , test .ShouldBeNil )
308
308
309
309
// Add new files for future processing
@@ -544,7 +544,7 @@ func TestNextPointCloudTimestamps(t *testing.T) {
544
544
// Confirm the end of the dataset was reached when expected
545
545
pc , err := replayCamera .NextPointCloud (ctx )
546
546
test .That (t , err , test .ShouldNotBeNil )
547
- test .That (t , err .Error (), test .ShouldContainSubstring , errEndOfDataset .Error ())
547
+ test .That (t , err .Error (), test .ShouldContainSubstring , ErrEndOfDataset .Error ())
548
548
test .That (t , pc , test .ShouldBeNil )
549
549
550
550
err = replayCamera .Close (ctx )
@@ -610,7 +610,7 @@ func TestReconfigure(t *testing.T) {
610
610
// Confirm the end of the dataset was reached when expected
611
611
pc , err := replayCamera .NextPointCloud (ctx )
612
612
test .That (t , err , test .ShouldNotBeNil )
613
- test .That (t , err .Error (), test .ShouldContainSubstring , errEndOfDataset .Error ())
613
+ test .That (t , err .Error (), test .ShouldContainSubstring , ErrEndOfDataset .Error ())
614
614
test .That (t , pc , test .ShouldBeNil )
615
615
616
616
err = replayCamera .Close (ctx )
0 commit comments