Skip to content

Instantly share code, notes, and snippets.

@mbreton
Created November 17, 2012 19:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbreton/4099330 to your computer and use it in GitHub Desktop.
Save mbreton/4099330 to your computer and use it in GitHub Desktop.
WTF? Dart tests
import 'package:/unittest/unittest.dart';
void main() {
group ("WTF? Dart", (){
test("doesn't recognize that a function is equals to itself...", () {
expect(myFunction != myFunction , isTrue);
});
});
}
myFunction (){
print("For more explaination go to http://code.google.com/p/dart/issues/detail?id=144");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment