-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a009e7e
commit 5a42a55
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// | ||
// ImageStyleTests.swift | ||
// | ||
// | ||
// Created by Mikhail Ivanov on 25.05.2021. | ||
// | ||
|
||
#if os(iOS) | ||
|
||
class ImageStyleTests: StylerTestSuite { | ||
|
||
/// # Important | ||
/// | ||
/// Snapshot tests must be run on the same simulator used to record the reference snapshots, otherwise | ||
/// the comparison may fail. These tests were recorded on the **iPhone 12** simulator. | ||
/// | ||
|
||
func testThat_Image_IsStyled() { | ||
// Given | ||
let markdown = """ | ||
Checking the loading of the image:  | ||
""" | ||
|
||
// Then | ||
assertStyle(for: markdown, width: .narrow) | ||
} | ||
|
||
} | ||
|
||
#endif |