Skip to content

Commit

Permalink
fix: unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
tin900 committed Aug 19, 2024
1 parent 64223af commit 52fe986
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ URL: https://github.com/Tomeriko96/polyglotr/,
BugReports: https://github.com/Tomeriko96/polyglotr/issues
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
Imports:
dplyr,
httr,
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-google_translate.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test_that("google_translate returns correct translation for unvectorized input",
text_to_translate <- "I love languages"
translation <- google_translate(text_to_translate, target_language = "es")

expected_translation <- "me encantan los idiomas"
expected_translation <- "Me encantan los idiomas"
expect_equal(translation, expected_translation)
})

Expand Down

0 comments on commit 52fe986

Please sign in to comment.