mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 08:22:15 -07:00
fix build failures
This commit is contained in:
parent
bdc67aeb1a
commit
06f0d8ac69
1 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ void testEmpty(const QString &clipboard)
|
||||||
QString cp(clipboard);
|
QString cp(clipboard);
|
||||||
DeckList deckList;
|
DeckList deckList;
|
||||||
QTextStream stream(&cp); // text stream requires local copy
|
QTextStream stream(&cp); // text stream requires local copy
|
||||||
deckList.loadFromStream_Plain(stream);
|
deckList.loadFromStream_Plain(stream, false);
|
||||||
|
|
||||||
ASSERT_TRUE(deckList.getCardList().isEmpty());
|
ASSERT_TRUE(deckList.getCardList().isEmpty());
|
||||||
}
|
}
|
||||||
|
|
@ -28,7 +28,7 @@ void testDeck(const QString &clipboard, const Result &result)
|
||||||
QString cp(clipboard);
|
QString cp(clipboard);
|
||||||
DeckList deckList;
|
DeckList deckList;
|
||||||
QTextStream stream(&cp); // text stream requires local copy
|
QTextStream stream(&cp); // text stream requires local copy
|
||||||
deckList.loadFromStream_Plain(stream);
|
deckList.loadFromStream_Plain(stream, false);
|
||||||
|
|
||||||
ASSERT_EQ(result.name, deckList.getName().toStdString());
|
ASSERT_EQ(result.name, deckList.getName().toStdString());
|
||||||
ASSERT_EQ(result.comments, deckList.getComments().toStdString());
|
ASSERT_EQ(result.comments, deckList.getComments().toStdString());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue