Skip to content

Commit

Permalink
Fixing whitespace endings (thanks git!)
Browse files Browse the repository at this point in the history
  • Loading branch information
TwP committed Apr 5, 2009
1 parent df84daa commit 8636e69
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/webby/apps/generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def cp( file )
src = template / file
dst = site / file

if test(?e, dst)
if test(?e, dst)
if identical?(src, dst)
identical(dst)
return
Expand Down
8 changes: 4 additions & 4 deletions spec/webby/apps/generator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,16 @@
"content/css/blueprint/plugins/rtl",
"content/css/blueprint/src",
"layouts",
"tasks",
"templates",
"tasks",
"templates",
"templates/blog"
]
h["layouts"].should == %w[layouts/default.txt]
h["tasks"].should == %w[tasks/blog.rake]
h["templates"].should == %w[templates/atom_feed.erb]
h["templates/blog"].should == [
"templates/blog/year.erb",
"templates/blog/post.erb",
"templates/blog/year.erb",
"templates/blog/post.erb",
"templates/blog/month.erb"
]
end
Expand Down

0 comments on commit 8636e69

Please sign in to comment.