 test 'string interpolating escaped braced variable', ->
 	assert.compileTo '''
 		figcaption {
-			content: "Figure {\\$chapter}-12";
-		}
-	''', '''
-		figcaption {
-			content: "Figure {\\$chapter}-12";
+			content: "Figure \\{\\$chapter}-12";
+		}
+	''', '''
+		figcaption {
+			content: "Figure \\{\\$chapter}-12";
 		}
 	'''
 
 test 'string interpolating braced identifier', ->
 	assert.compileTo '''
-		$chapter = 4;
 		figcaption {
 			content: "Figure {chapter}-12";
 		}
 	''', '''
 		figcaption {
-			content: "Figure {chapter}-12";
+			content: "Figure chapter-12";
+		}
+	'''
+
+test 'string interpolating addition', ->
+	assert.compileTo '''
+		figcaption {
+			content: "Figure { 5 + 1 }-12";
+		}
+	''', '''
+		figcaption {
+			content: "Figure 6-12";
+		}
+	'''
+
+test 'string interpolating string', ->
+	assert.compileTo '''
+		figcaption {
+			content: "Figure { "#6" }-12";
+		}
+	''', '''
+		figcaption {
+			content: "Figure #6-12";
 		}
 	'''
 

		@media $qry {
			body {}
		}
	''', {line: 2, column: 8}
		.icon-$name {
			float: left;
		}
	''', { line: 6, column: 7 }

test 'identifier interpolating multiple variables', ->
	assert.compileTo '''
