anchors: Fix invalid YAML in aliases test cases
Although accepted by PyYAML, `{*x: 4}` is not valid YAML: it should be
noted `{*x : 4}`. The reason is that a colon can be part of an anchor
name. See this comment from Tina Müller for more details:
https://github.com/adrienverge/yamllint/pull/550#discussion_r1155297373
Even if it's not a problem for yamllint, let's fix our tests to include
valid YAML snippets.
			
			
				pull/564/head
			
			
		
							parent
							
								
									6bfd6756e2
								
							
						
					
					
						commit
						e90e0a0eb5
					
				
					Loading…
					
					
				
		Reference in New Issue