forked from external/vscode-xml
		
	
							parent
							
								
									4de58fe2e0
								
							
						
					
					
						commit
						36820ce320
					
				
					 3 changed files with 12 additions and 0 deletions
				
			
		| 
						 | 
					@ -51,6 +51,10 @@ describe("V2XmlFormatter", () => {
 | 
				
			||||||
            testFormatter(xmlFormatter, options, "maintain-comment-formatting");
 | 
					            testFormatter(xmlFormatter, options, "maintain-comment-formatting");
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        it("should handle single-quotes in attributes", () => {
 | 
				
			||||||
 | 
					            testFormatter(xmlFormatter, options, "single-quotes");
 | 
				
			||||||
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										4
									
								
								src/test/test-data/single-quotes.formatted.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								src/test/test-data/single-quotes.formatted.xml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,4 @@
 | 
				
			||||||
 | 
					<root>
 | 
				
			||||||
 | 
					  <element attr='1' />
 | 
				
			||||||
 | 
					  <element attr='2' />
 | 
				
			||||||
 | 
					</root>
 | 
				
			||||||
							
								
								
									
										4
									
								
								src/test/test-data/single-quotes.unformatted.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								src/test/test-data/single-quotes.unformatted.xml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,4 @@
 | 
				
			||||||
 | 
					<root>
 | 
				
			||||||
 | 
					  <element attr='1' />
 | 
				
			||||||
 | 
					  <element attr='2' />
 | 
				
			||||||
 | 
					</root>
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue