Skip to content

Commit

Permalink
feat: Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
francescobianco committed Feb 27, 2024
1 parent e141919 commit dc1e60b
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,27 +161,7 @@ assert_file_exists new_file_name.txt "Moving file goes wrong." "Ok! it working."

<div align="right"><a href="#documentation">[back to top]</a></div>

<hr/>

### ➡ | `assert_file_exists`

**Usage**

```bash
assert_file_exists [FAIL_MESSAGE] [SUCCESS_MESSAGE]
```

**Examples**

```bash
touch sample_file.txt
assert_file_exists sample_file.txt
```

```bash
mv old_file_name.txt new_file_name.txt
assert_file_exists new_file_name.txt "Moving file goes wrong."
```

```bash
mv old_file_name.txt new_file_name.txt
Expand All @@ -207,15 +187,7 @@ touch sample_file.txt
assert_file_exists sample_file.txt
```

```bash
mv old_file_name.txt new_file_name.txt
assert_file_exists new_file_name.txt "Moving file goes wrong."
```

```bash
mv old_file_name.txt new_file_name.txt
assert_file_exists new_file_name.txt "Moving file goes wrong." "Ok! it working."
```

<div align="right"><a href="#documentation">[back to top]</a></div>

Expand Down

0 comments on commit dc1e60b

Please sign in to comment.