Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Commit

Permalink
fix(http_spec): implement lastModified getter
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb authored and mhevery committed Feb 20, 2014
1 parent 5bd65fb commit e719e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/core_dom/http_spec.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1322,10 +1322,10 @@ main() => describe('http', () {

class FakeFile implements File {
DateTime get lastModifiedDate => null;
int get lastModified => 0;
String get name => null;
String get relativePath => null;
int get size => 0;
String get type => null;
Blob slice([int start, int end, String contentType]) => null;
int get lastModified => new DateTime.now().millisecondsSinceEpoch;
}

0 comments on commit e719e75

Please sign in to comment.