package org.tinylog.impl.segments;

import org.junit.jupiter.api.Test;

import static org.assertj.core.api.Assertions.assertThat;

class StaticPathSegmentTest {

	/**
	 * Verifies that the static path segments appends the stored text data to the passed string builder.
	 */
	@Test
	void resolve() {
		StringBuilder builder = new StringBuilder("bar/");
		new StaticPathSegment("foo").resolve(builder, null);
		assertThat(builder).asString().isEqualTo("bar/foo");
	}

}

@@ -201,17 +201,16 @@
  segment
-s
  appends

Fix typo