Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Unified Diff: utils/tests/pub/version_test.dart

Issue 10399076: Get codebase ready for actually supporting versioning. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Respond to review. Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utils/tests/pub/test_pub.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/version_test.dart
diff --git a/utils/tests/pub/version_test.dart b/utils/tests/pub/version_test.dart
index 8ff317cd5f20c8c8195760d80a646b6a323a0a51..be84b28ab1b3816ca22e3ff24c2581f9ef4b1e51 100644
--- a/utils/tests/pub/version_test.dart
+++ b/utils/tests/pub/version_test.dart
@@ -5,10 +5,15 @@
#library('version_test');
#import('../../../lib/unittest/unittest.dart');
+#import('../../pub/utils.dart');
#import('../../pub/version.dart');
main() {
group('Version', () {
+ test('none', () {
+ expect(Version.none.toString()).equals('0.0.0');
+ });
+
group('constructor', () {
test('throws on negative numbers', () {
throwsIllegalArg(() => new Version(-1, 1, 1));
« no previous file with comments | « utils/tests/pub/test_pub.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698