Skip to content

Commit 69c24bb

Browse files
committed
fix for date test
1 parent 63027a0 commit 69c24bb

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

myapp/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ <h2>Update placeholders</h2>
5757

5858
<footer class="page-footer">
5959
<p>Built for CI/CD Concepts & Capstone Project Integration</p>
60-
<p>March 27, 2026</p>
60+
<p>Today's date: March 27, 2026</p>
6161
</footer>
6262

6363
<script src="script.js"></script>

scripts/run-tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ if [[ ! -f "myapp/script.js" ]]; then
2222
exit 1
2323
fi
2424

25-
if ! grep -q "March 15, 2026" myapp/index.html; then
26-
echo "ERROR: Today's date (March 15, 2026) not found in index.html." >&2
25+
if ! grep -q "Today's date:" myapp/index.html; then
26+
echo "ERROR: Today's date (Month DD, YYYY) not found in index.html." >&2
2727
exit 1
2828
fi
2929

0 commit comments

Comments
 (0)