Skip to content
Browse files

Whitespace consistency

  • Loading branch information...
1 parent f066795 commit 75535b05fc29ec895779e772f347cd07e03d06cb Adam Milligan committed
Showing with 15 additions and 15 deletions.
  1. +1 −1 OCUnitAppLogicTests/OCUnitAppLogicTests.mm
  2. +1 −1 OCUnitAppTests/OCUnitApplicationTests.mm
  3. +11 −11 Spec/SpecSpec.mm
  4. +2 −2 Spec/SpecSpec2.m
View
2 OCUnitAppLogicTests/OCUnitAppLogicTests.mm
@@ -5,7 +5,7 @@
SPEC_BEGIN(OCUnitAppLogicTests)
-describe(@"A spec file testing domain classes", ^ {
+describe(@"A spec file testing domain classes", ^{
it(@"should run", ^{
expect([DummyModel class]).to(equal([DummyModel class]));
});
View
2 OCUnitAppTests/OCUnitApplicationTests.mm
@@ -5,7 +5,7 @@
SPEC_BEGIN(OCUnitApplicationTests)
-describe(@"A spec file testing UI", ^ {
+describe(@"A spec file testing UI", ^{
it(@"should run", ^{
UILabel *label = [[[UILabel alloc] init] autorelease];
expect([label class]).to(equal([UILabel class]));
View
22 Spec/SpecSpec.mm
@@ -26,7 +26,7 @@ void expectFailure(CDRSpecBlock block) {
SPEC_BEGIN(SpecSpec)
-describe(@"Spec", ^ {
+describe(@"Spec", ^{
beforeEach(^{
// NSLog(@"=====================> I should run before all specs.");
});
@@ -35,43 +35,43 @@ void expectFailure(CDRSpecBlock block) {
// NSLog(@"=====================> I should run after all specs.");
});
- describe(@"a nested spec", ^ {
+ describe(@"a nested spec", ^{
beforeEach(^{
// NSLog(@"=====================> I should run only before the nested specs.");
});
- afterEach(^ {
+ afterEach(^{
// NSLog(@"=====================> I should run only after the nested specs.");
});
- it(@"should also run", ^ {
+ it(@"should also run", ^{
// NSLog(@"=====================> Nested spec");
});
- it(@"should also also run", ^ {
+ it(@"should also also run", ^{
// NSLog(@"=====================> Another nested spec");
});
});
- context(@"a nested spec (context)", ^ {
+ context(@"a nested spec (context)", ^{
beforeEach(^{
// NSLog(@"=====================> I should run only before the nested specs.");
});
- afterEach(^ {
+ afterEach(^{
// NSLog(@"=====================> I should run only after the nested specs.");
});
- it(@"should also run", ^ {
+ it(@"should also run", ^{
// NSLog(@"=====================> Nested spec");
});
- it(@"should also also run", ^ {
+ it(@"should also also run", ^{
// NSLog(@"=====================> Another nested spec");
});
});
- it(@"should run", ^ {
+ it(@"should run", ^{
// NSLog(@"=====================> Spec");
});
@@ -89,7 +89,7 @@ void expectFailure(CDRSpecBlock block) {
});
describe(@"The spec failure exception", ^{
-// it(@"should generate a spec failure", ^ {
+// it(@"should generate a spec failure", ^{
// [[CDRSpecFailure specFailureWithReason:@"'cuz"] raise];
// });
//
View
4 Spec/SpecSpec2.m
@@ -2,8 +2,8 @@
SPEC_BEGIN(SpecSpec2)
-describe(@"A second spec file in the same target", ^ {
- it(@"should run", ^ {
+describe(@"A second spec file in the same target", ^{
+ it(@"should run", ^{
// NSLog(@"=====================> Spec 2");
});
});

0 comments on commit 75535b0

Please sign in to comment.
Something went wrong with that request. Please try again.