<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>maru_cc</author_name>
  <author_url>https://blog.hatena.ne.jp/maru_cc/</author_url>
  <blog_title>maru.cc@はてな</blog_title>
  <blog_url>https://marucc.hatenablog.com/</blog_url>
  <categories>
    <anon>Ethna</anon>
  </categories>
  <description>Smartyプラグインのテストのファイル名とクラス名を変更したので、テストを実行したところ、手元の環境ではエラーになり、別サーバではエラーにならないということがあった。 Ethna本体のテストは、bin/ethna_run_test.php の中で、opendir() -&gt; readdir() でテストクラスを取得してきてテストを実行するという形式だが、これの取得順が違うようだ。 もちろん、順番に依存するテストケースというのは間違っているので修正するべきだが、環境によってはそれで動いてしまっているので気がつきにくい場面があるのかもしれない。 http://maru.cc/~maru/ethna…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmarucc.hatenablog.com%2Fentry%2F20090121%2Fethna_test_error&quot; title=&quot;Ethna本体のテストが環境によってこける - maru.cc@はてな&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-01-21 00:00:00</published>
  <title>Ethna本体のテストが環境によってこける</title>
  <type>rich</type>
  <url>https://marucc.hatenablog.com/entry/20090121/ethna_test_error</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
