From a4a78cfbec7309870a521e2c58d774b0f85c7417 Mon Sep 17 00:00:00 2001 From: Marcel Loose Date: Thu, 20 Aug 2026 11:08:46 +0200 Subject: [PATCH] Fix bug in test One of the `assert` checks contained an assignment (`=`), instead of a comparison (`==`). This has been fixed. --- test/tLofarStMan.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tLofarStMan.cc b/test/tLofarStMan.cc index a33f782..eb5c9f6 100644 --- a/test/tLofarStMan.cc +++ b/test/tLofarStMan.cc @@ -413,7 +413,7 @@ void readTable (uInt nseq, uInt nant, uInt nchan, uInt npol, // Open the table and check if #rows is as expected. Table tab("tLofarStMan_tmp.data"); uInt nrow = tab.nrow(); - AlwaysAssertExit (nrow = nseq*nbasel); + AlwaysAssertExit (nrow == nseq*nbasel); AlwaysAssertExit (!tab.canAddRow()); AlwaysAssertExit (!tab.canRemoveRow()); AlwaysAssertExit (tab.canRemoveColumn(Vector(1, "DATA")));