Skip to content

Node.js based forum software built for the modern web

show values if test fails

Barış Soner Uşaklı0316f51cdb95
diff --git a/test/flags.js b/test/flags.js
index 062c2d5c9a..bead3bed0c 100644
--- a/test/flags.js
+++ b/test/flags.js
@@ -442,7 +442,7 @@ describe('Flags', function () {
it('should retrieve a list of notes, from newest to oldest', function (done) {
Flags.getNotes(1, function (err, notes) {
assert.ifError(err);
- assert(notes[0].datetime > notes[1].datetime);
+ assert(notes[0].datetime > notes[1].datetime, notes[0].datetime + '-' + notes[1].datetime);
assert.strictEqual('this is the second note', notes[0].content);
done();
});