about summary refs log tree commit diff stats
path: root/tests/test_prof_history.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-10-21 20:02:20 +0100
committerJames Booth <boothj5@gmail.com>2012-10-21 20:02:20 +0100
commit6bad38c2d50a033d8e8a19998cb062e01fe1aa72 (patch)
tree781461a7d79b6fce56f5ee7f0a012e814cf8771f /tests/test_prof_history.c
parent382e961563eb9e4d31d3ad111a41569b7fa78fa6 (diff)
downloadprofani-tty-6bad38c2d50a033d8e8a19998cb062e01fe1aa72.tar.gz
Removed trailing whitespace from src and tests
Diffstat (limited to 'tests/test_prof_history.c')
-rw-r--r--tests/test_prof_history.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/test_prof_history.c b/tests/test_prof_history.c
index 5f08c26c..c58c5957 100644
--- a/tests/test_prof_history.c
+++ b/tests/test_prof_history.c
@@ -67,8 +67,8 @@ void previous_goes_to_correct_element(void)
     char *item1 = p_history_previous(history, NULL);
     char *item2 = p_history_previous(history, item1);
     char *item3 = p_history_previous(history, item2);
-    
-    assert_string_equals("going", item3); 
+
+    assert_string_equals("going", item3);
 }
 
 void prev_then_next_returns_empty(void)
@@ -128,7 +128,7 @@ void navigate_then_append_new(void)
 
     char *item5 = p_history_next(history, item4);
     assert_string_equals("append", item5);
-    
+
     char *item6 = p_history_next(history, item5);
     assert_string_equals("new text", item6);
 }
@@ -144,22 +144,22 @@ void edit_item_mid_history(void)
 
     char *item1 = p_history_previous(history, "new item");
     assert_string_equals("append", item1);
-    
+
     char *item2 = p_history_previous(history, item1);
     assert_string_equals("history", item2);
 
     char *item3 = p_history_previous(history, item2);
     assert_string_equals("testing", item3);
-    
+
     char *item4 = p_history_previous(history, "EDITED");
-    assert_string_equals("again", item4);   
-    
+    assert_string_equals("again", item4);
+
     char *item5 = p_history_previous(history, item4);
     assert_string_equals("Hello", item5);
 
     char *item6 = p_history_next(history, item5);
     assert_string_equals("again", item6);
-    
+
     char *item7 = p_history_next(history, item6);
     assert_string_equals("EDITED", item7);
 
@@ -184,13 +184,13 @@ void edit_previous_and_append(void)
 
     char *item1 = p_history_previous(history, "new item");
     assert_string_equals("append", item1);
-    
+
     char *item2 = p_history_previous(history, item1);
     assert_string_equals("history", item2);
 
     char *item3 = p_history_previous(history, item2);
     assert_string_equals("testing", item3);
-    
+
     p_history_append(history, "EDITED");
 
     char *item4 = p_history_previous(history, NULL);
@@ -204,7 +204,7 @@ void start_session_add_new_submit_previous(void)
 
     char *item1 = p_history_previous(history, NULL);
     assert_string_equals("hello", item1);
-    
+
     char *item2 = p_history_next(history, item1);
     assert_string_equals("", item2);