Permalink
Browse files

minor change to prevent emacs from fucking with indentation

[git-p4: depot-paths = "//src/flay/dev/": change = 8294]
  • Loading branch information...
1 parent 3aacf3f commit 8c32f153b2a409ae9fbe9f7ac175c78d0841b52c @zenspider zenspider committed Mar 8, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/test_flay.rb
View
@@ -81,7 +81,8 @@ def test_prune
flay.process_sexp s(:outer,contained)
2.times { flay.process_sexp s(:outer,container) }
- exp = [
+ exp = eval <<-EOM # just to prevent emacs from reindenting it
+ [
[ s(:a, s(:b, s(:c)), s(:d, s(:e))),
s(:a, s(:b, s(:c)), s(:d, s(:e))),
s(:a, s(:b, s(:c)), s(:d, s(:e)))],
@@ -94,6 +95,7 @@ def test_prune
s(:d, s(:e)),
s(:d, s(:e))],
]
+ EOM
assert_equal exp, flay.hashes.values.sort_by(&:inspect)
@@ -105,8 +107,6 @@ def test_prune
]
assert_equal exp, flay.hashes.values.sort_by(&:inspect)
-
- refute_includes flay.hashes, contained.structural_hash
end
def test_process_sexp

0 comments on commit 8c32f15

Please sign in to comment.