Fix ChatTime test
This commit is contained in:
parent
c53fe2f618
commit
e18f149fb1
|
@ -54,7 +54,7 @@ void main() {
|
|||
test("Formatting", () async {
|
||||
final int timestamp = 1560144984758;
|
||||
final ChatTime chatTime = ChatTime(timestamp);
|
||||
expect(chatTime.toTimeString(),"07:36");
|
||||
expect(chatTime.toTimeString(),"05:36"); // Skip this if you are not UTC+0
|
||||
expect(chatTime.toTimeString(),chatTime.toEventTimeString());
|
||||
|
||||
final ChatTime oldChatTime = ChatTime(156014498475);
|
||||
|
|
Loading…
Reference in a new issue