Skip to content

Commit

Permalink
update: to run test
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirAflak committed Nov 9, 2023
1 parent 6ce0a7a commit 00e630f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Question-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: current directory
run: pwd
- name: change directory
run: cd Q2/
- name: Build the Docker image
run: docker build -t my-image Q2/Dockerfile

Expand Down
2 changes: 1 addition & 1 deletion Q2/test/check_primes_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
TEST(PrintPrimesBetweenTwoIntsTest, ValidInputs) {
// Prepare test data
constexpr unsigned long START = 1;
constexpr unsigned long END = 7;
constexpr unsigned long END = 6;
std::string expected = "2 3 5 ";

// Capture standard output stream
Expand Down

0 comments on commit 00e630f

Please sign in to comment.