Index: tests/html/form_data_test.dart |
diff --git a/tests/html/form_data_test.dart b/tests/html/form_data_test.dart |
index 140c253a9363d9343bf24786f808ae0d53d70233..301781082cd61bc6b70d55509fa60ccb8d80810b 100644 |
--- a/tests/html/form_data_test.dart |
+++ b/tests/html/form_data_test.dart |
@@ -53,7 +53,7 @@ void main() { |
form.append('test', '1'); |
form.append('username', 'Elmo'); |
form.append('address', '1 Sesame Street'); |
- form.append('password', '123456'); |
+ form.append('password', '123456', 'foo'); |
expect(form, isNotNull); |
}); |
@@ -62,7 +62,7 @@ void main() { |
var blob = new Blob( |
['Indescribable... Indestructible! Nothing can stop it!'], |
'text/plain'); |
- form.appendBlob('theBlob', blob, 'theBlob.txt'); |
+ form.append('theBlob', blob, 'theBlob.txt'); |
}); |
test('send', () { |
@@ -72,7 +72,7 @@ void main() { |
var blob = new Blob( |
[blobString], |
'text/plain'); |
- form.appendBlob('theBlob', blob, 'theBlob.txt'); |
+ form.append('theBlob', blob, 'theBlob.txt'); |
var xhr = new HttpRequest(); |
xhr.open('POST', |