Johannes Rudolph avatar Johannes Rudolph committed a2e35ce

Nicer formatting of Observations.

Comments (0)

Files changed (1)

src/SubSpec/ObservationExecutor.cs

                 }
             };
 
-            yield return new ActionTestCommand(method, "{ Context: " + name, 0, setupAction);
+            yield return new ActionTestCommand(method, "{ " + name, 0, setupAction);
 
 
             foreach (var observation in _observations())
                                      observation.Execute();
                                  };
 
-                yield return new ActionTestCommand(method, "\tObservation: " + observation.Message, 0, perform);
+                yield return new ActionTestCommand(method, "\t- " + observation.Message, 0, perform);
             }
 
             Action tearDownAction = () =>
                     throw new ContextSetupFailedException( "Setting up Context failed, but Fixtures were disposed." );
             };
 
-            yield return new ActionTestCommand(method, "} TearDown: " + name, 0, tearDownAction);
+            yield return new ActionTestCommand(method, "} " + name, 0, tearDownAction);
         }
     }
 }
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.