mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-22 14:35:52 +00:00
Whitespace.
This commit is contained in:
1 parent
7264692a0a
commit
bf3a152946
2 files changed
+5
-6
No files matched your search
@@ -71,10 +71,10 @@
|
||||
var rawString = "cappuccino",
|
||||
bytes = [99, 97, 112, 112, 117, 99, 99, 105, 110, 111],
|
||||
base64 = "Y2FwcHVjY2lubw==";
|
||||
|
||||
|
||||
var data = [CPData dataWithBase64:base64];
|
||||
[self assert:rawString equals:[data rawString]];
|
||||
|
||||
|
||||
data = [CPData dataWithBase64:base64];
|
||||
[self assert:bytes equals:[data bytes]];
|
||||
|
||||
@@ -84,17 +84,16 @@
|
||||
|
||||
data = [CPData dataWithRawString:rawString];
|
||||
[self assert:rawString equals:[data rawString]];
|
||||
|
||||
|
||||
data = [CPData dataWithRawString:rawString];
|
||||
[self assert:bytes equals:[data bytes]];
|
||||
|
||||
data = [CPData dataWithRawString:rawString];
|
||||
[self assert:base64 equals:[data base64]];
|
||||
|
||||
|
||||
data = [CPData dataWithBytes:bytes];
|
||||
[self assert:rawString equals:[data rawString]];
|
||||
|
||||
|
||||
data = [CPData dataWithBytes:bytes];
|
||||
[self assert:bytes equals:[data bytes]];
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
var data = [[CPData alloc] initWithRawString:dataString],
|
||||
theRows = [CPPropertyListSerialization propertyListFromData:data format:CPPropertyListXMLFormat_v1_0];
|
||||
|
||||
// Add a CPImage to the model to test CPValueBinding.
|
||||
// Add a CPImage to the model to test CPValueBinding.
|
||||
var path = [[CPBundle mainBundle] pathForResource:@"value.jpg"],
|
||||
image = [[CPImage alloc] initWithContentsOfFile:path],
|
||||
dict = [CPDictionary dictionaryWithObject:image forKey:@"image"];
|
||||
|
||||
Reference in new issue
Block a user