package org.springframework.cloud.cli.compiler;

import org.junit.Test;

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

public class SpringCloudBomAstTransformationTests {

	@Test
	public void defaultVersionReadFromFile() {
		String version = new SpringCloudBomAstTransformation().getBomVersion();
		// starts with one or more word chars then a .
		// TODO: change to \\d (digits) when merged to master
		assertThat(version).isNotBlank().doesNotContainAnyWhitespaces().containsPattern("^\\w+\\..*");
	}
}

@@ -336,83 +336,23 @@
 ore 
-word chars then a .%0A%09%09// TODO: change to %5C%5Cd (
 digits
-) w
+ t
 hen 
-merged to master
+a .
 %0A%09%09a
@@ -434,17 +434,17 @@
 ern(%22%5E%5C%5C
-w
+d
 +%5C%5C..*%22)

change test to digits for calver