Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git
images/kitten.png
src/test/java/com/keenwrite/processors/markdown/extensions/images/ImageLinkExtensionTest.java
private static final String URI_FILE = "kitten";
private static final String URI_PATH = UIR_DIR + '/' + URI_FILE;
- private static final String PATH_KITTEN_JPG = URI_PATH + ".jpg";
- private static final String PATH_KITTEN_PNG = URI_PATH + ".png";
+ private static final String PATH_KITTEN_PNG = STR."\{URI_PATH}.png";
+ private static final String PATH_KITTEN_JPG = STR."\{URI_PATH}.jpg";
private static final Map<String, String> IMAGES = new LinkedHashMap<>();
static {
- add( PATH_KITTEN_PNG, URI_FILE );
add( PATH_KITTEN_PNG, URI_PATH );
+ add( PATH_KITTEN_PNG, URI_FILE );
add( PATH_KITTEN_PNG, PATH_KITTEN_PNG );
add( PATH_KITTEN_JPG, PATH_KITTEN_JPG );

Add fake image so that unit test passes

Author DaveJarvis <email>
Date 2023-12-19 13:48:54 GMT-0800
Commit 5781d8f0551cea1c61c5f1c7a87c174b55ce1ffd
Parent b26d466
Delta 3 lines added, 3 lines removed