mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 05:27:19 +00:00
fix failing tests
idk how these werent failing before. Seems to have been magic.
This commit is contained in:
parent
1b84d3d514
commit
23d40d54fa
@ -121,7 +121,7 @@ TEST(MagicEnumTest, eGameMessageTypeTest) {
|
|||||||
namespace {
|
namespace {
|
||||||
template <typename T>
|
template <typename T>
|
||||||
void AssertEnumArraySorted(const T& eArray) {
|
void AssertEnumArraySorted(const T& eArray) {
|
||||||
for (int i = 0; i < eArray->size(); ++i) {
|
for (int i = 0; i < eArray->size() - 1; ++i) {
|
||||||
const auto entryCurr = eArray->at(i).first;
|
const auto entryCurr = eArray->at(i).first;
|
||||||
LOG_EARRAY(eArray, i, entryCurr);
|
LOG_EARRAY(eArray, i, entryCurr);
|
||||||
const auto entryNext = eArray->at(++i).first;
|
const auto entryNext = eArray->at(++i).first;
|
||||||
|
Loading…
Reference in New Issue
Block a user