Skip to content

Commit

Permalink
rename README to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill Müller committed Nov 20, 2014
1 parent 5c8ea5a commit d306dc2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/testthat/test-create.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ test_that('Full project', {
expect_that(file.exists(file.path('test_project', 'src', 'eda.R')), is_true())
expect_that(file.exists(file.path('test_project', 'tests')), is_true())
expect_that(file.exists(file.path('test_project', 'tests', '1.R')), is_true())
expect_that(file.exists(file.path('test_project', 'README')), is_true())
expect_that(file.exists(file.path('test_project', 'README.md')), is_true())
expect_that(file.exists(file.path('test_project', 'TODO')), is_true())

setwd('test_project')
Expand Down Expand Up @@ -59,7 +59,7 @@ test_that('Miminal project', {
expect_that(file.exists(file.path('test_project', 'munge', '01-A.R')), is_true())
expect_that(file.exists(file.path('test_project', 'src')), is_true())
expect_that(file.exists(file.path('test_project', 'src', 'eda.R')), is_true())
expect_that(file.exists(file.path('test_project', 'README')), is_true())
expect_that(file.exists(file.path('test_project', 'README.md')), is_true())

expect_that(file.exists(file.path('test_project', 'diagnostics')), is_false())
expect_that(file.exists(file.path('test_project', 'doc')), is_false())
Expand Down
12 changes: 6 additions & 6 deletions tests/testthat/test-overwrite.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ test_that('Test full project into existing directory', {
expect_that(file.exists(file.path('test_project', 'src')), is_true())
expect_that(file.exists(file.path('test_project', 'tests')), is_true())
expect_that(file.exists(file.path('test_project', 'tests', '1.R')), is_true())
expect_that(file.exists(file.path('test_project', 'README')), is_true())
expect_that(file.exists(file.path('test_project', 'README.md')), is_true())
expect_that(file.exists(file.path('test_project', 'TODO')), is_true())

setwd('test_project')
Expand Down Expand Up @@ -59,7 +59,7 @@ test_that('Test minimal project into existing directory with an unrelated entry'
expect_that(file.exists(file.path('test_project', 'munge')), is_true())
expect_that(file.exists(file.path('test_project', 'munge', '01-A.R')), is_true())
expect_that(file.exists(file.path('test_project', 'src')), is_true())
expect_that(file.exists(file.path('test_project', 'README')), is_true())
expect_that(file.exists(file.path('test_project', 'README.md')), is_true())

setwd('test_project')

Expand Down Expand Up @@ -126,8 +126,8 @@ test_that('Test failure creating project in directory with existing empty direct
expect_that(file.exists(file.path('test_project')), is_false())
dir.create('test_project')
expect_that(file.exists(file.path('test_project')), is_true())
dir.create(file.path('test_project', 'README'))
expect_that(file.exists(file.path('test_project', 'README')), is_true())
dir.create(file.path('test_project', 'README.md'))
expect_that(file.exists(file.path('test_project', 'README.md')), is_true())

expect_error(
suppressMessages(
Expand All @@ -143,8 +143,8 @@ test_that('Test failure creating project in directory with existing file matchin
expect_that(file.exists(file.path('test_project')), is_false())
dir.create('test_project')
expect_that(file.exists(file.path('test_project')), is_true())
file.create(file.path('test_project', 'README'))
expect_that(file.exists(file.path('test_project', 'README')), is_true())
file.create(file.path('test_project', 'README.md'))
expect_that(file.exists(file.path('test_project', 'README.md')), is_true())

expect_error(
suppressMessages(
Expand Down

0 comments on commit d306dc2

Please sign in to comment.